diff --git a/sdk/core/azure-core/inc/azure/core/operation.hpp b/sdk/core/azure-core/inc/azure/core/operation.hpp index 74cd439ec..16e9052ce 100644 --- a/sdk/core/azure-core/inc/azure/core/operation.hpp +++ b/sdk/core/azure-core/inc/azure/core/operation.hpp @@ -30,7 +30,6 @@ namespace Azure { namespace Core { virtual std::unique_ptr PollInternal(Context const& context) = 0; virtual Response PollUntilDoneInternal(std::chrono::milliseconds period, Context& context) = 0; - virtual Azure::Core::Http::RawResponse const& GetRawResponseInternal() const = 0; protected: std::unique_ptr m_rawResponse = nullptr; diff --git a/sdk/core/azure-core/test/ut/operation_test.hpp b/sdk/core/azure-core/test/ut/operation_test.hpp index 21c8923b8..1011cc497 100644 --- a/sdk/core/azure-core/test/ut/operation_test.hpp +++ b/sdk/core/azure-core/test/ut/operation_test.hpp @@ -69,11 +69,6 @@ namespace Azure { namespace Core { namespace Test { public: StringOperation() = default; - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - std::string GetResumeToken() const override { return m_operationToken; } std::string Value() const override diff --git a/sdk/keyvault/azure-security-keyvault-certificates/inc/azure/keyvault/certificates/certificate_client_operations.hpp b/sdk/keyvault/azure-security-keyvault-certificates/inc/azure/keyvault/certificates/certificate_client_operations.hpp index 482a4fe25..2c807179f 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/inc/azure/keyvault/certificates/certificate_client_operations.hpp +++ b/sdk/keyvault/azure-security-keyvault-certificates/inc/azure/keyvault/certificates/certificate_client_operations.hpp @@ -52,16 +52,6 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Certificat std::string resumeToken, std::shared_ptr certificateClient); - /** - * @brief Get the #Azure::Core::Http::RawResponse of the operation request. - * @return A reference to an #Azure::Core::Http::RawResponse. - * @note Does not give up ownership of the RawResponse. - */ - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - public: /** * @brief Get the #Azure::Security::KeyVault::Certificates::CertificateOperationProperties @@ -151,16 +141,6 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Certificat std::string resumeToken, std::shared_ptr certificateClient); - /** - * @brief Get the #Azure::Core::Http::RawResponse of the operation request. - * @return A reference to an #Azure::Core::Http::RawResponse. - * @note Does not give up ownership of the RawResponse. - */ - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - public: /** * @brief Get the #Azure::Security::KeyVault::Certificates::DeletedCertificate object. @@ -229,16 +209,6 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Certificat std::string resumeToken, std::shared_ptr certificateClient); - /** - * @brief Get the #Azure::Core::Http::RawResponse of the operation request. - * @return A reference to an #Azure::Core::Http::RawResponse. - * @note Does not give up ownership of the RawResponse. - */ - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - public: /** * @brief Get the #Azure::Security::KeyVault::Certificates::KeyVaultCertificateWithPolicy diff --git a/sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_client_models.hpp b/sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_client_models.hpp index 6688e64a0..3c135da38 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_client_models.hpp +++ b/sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_client_models.hpp @@ -837,16 +837,6 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Keys { { } - /** - * @brief Get the #Azure::Core::Http::RawResponse of the operation request. - * @return A reference to an #Azure::Core::Http::RawResponse. - * @note Does not give up ownership of the RawResponse. - */ - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - public: /** * @brief Get the #Azure::Security::KeyVault::Keys::DeletedKey object. @@ -938,16 +928,6 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Keys { { } - /** - * @brief Get the #Azure::Core::Http::RawResponse of the operation request. - * @return A reference to an #Azure::Core::Http::RawResponse. - * @note Does not give up ownership of the RawResponse. - */ - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - public: /** * @brief Get the #Azure::Security::KeyVault::Keys::KeyVaultKey object. diff --git a/sdk/keyvault/azure-security-keyvault-secrets/inc/azure/keyvault/secrets/keyvault_operations.hpp b/sdk/keyvault/azure-security-keyvault-secrets/inc/azure/keyvault/secrets/keyvault_operations.hpp index 8f5c35594..78e4ffa00 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/inc/azure/keyvault/secrets/keyvault_operations.hpp +++ b/sdk/keyvault/azure-security-keyvault-secrets/inc/azure/keyvault/secrets/keyvault_operations.hpp @@ -51,16 +51,6 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Secrets { std::string resumeToken, std::shared_ptr secretClient); - /** - * @brief Get the #Azure::Core::Http::RawResponse of the operation request. - * @return A reference to an #Azure::Core::Http::RawResponse. - * @note Does not give up ownership of the RawResponse. - */ - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - public: /** * @brief Get the #Azure::Security::KeyVault::Secrets::Secret object. @@ -125,16 +115,6 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Secrets { DeleteSecretOperation(std::string resumeToken, std::shared_ptr secretClient); - /** - * @brief Get the #Azure::Core::Http::RawResponse of the operation request. - * @return A reference to an #Azure::Core::Http::RawResponse. - * @note Does not give up ownership of the RawResponse. - */ - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - public: /** * @brief Get the #Azure::Security::KeyVault::Secrets::DeletedSecret object. diff --git a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_responses.hpp b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_responses.hpp index 8bc13bb65..c358533d5 100644 --- a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_responses.hpp +++ b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_responses.hpp @@ -246,11 +246,6 @@ namespace Azure { namespace Storage { std::chrono::milliseconds period, Azure::Core::Context& context) override; - Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - std::shared_ptr m_blobClient; Models::BlobProperties m_pollResult; diff --git a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_responses.hpp b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_responses.hpp index 8f28f7af7..c5db7393c 100644 --- a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_responses.hpp +++ b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_responses.hpp @@ -328,11 +328,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { std::chrono::milliseconds period, Azure::Core::Context& context) override; - const Azure::Core::Http::RawResponse& GetRawResponseInternal() const override - { - return *m_rawResponse; - } - std::shared_ptr m_fileClient; Models::FileProperties m_pollResult;