azure-security-keyvault-secrets
keyvault_deleted_secret.hpp
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // SPDX-License-Identifier: MIT
3 
9 #pragma once
10 #include <azure/core/datetime.hpp>
12 
13 namespace Azure { namespace Security { namespace KeyVault { namespace Secrets {
18  struct DeletedSecret : public KeyVaultSecret
19  {
24  std::string RecoveryId;
25 
29  Azure::Nullable<Azure::DateTime> ScheduledPurgeDate;
30 
34  Azure::Nullable<Azure::DateTime> DeletedOn;
35 
39  DeletedSecret() = default;
40 
46  DeletedSecret(std::string name) : KeyVaultSecret(std::move(name)) {}
47  };
48 }}}} // namespace Azure::Security::KeyVault::Secrets
Azure::Security::KeyVault::Secrets::DeletedSecret
A Deleted Secret consisting of its previous id, attributes and its tags, as well as information on wh...
Definition: keyvault_deleted_secret.hpp:19
Azure::Security::KeyVault::Secrets::KeyVaultSecret
Definition: keyvault_secret.hpp:14
Azure
Azure SDK abstractions.
Definition: dll_import_export.hpp:46
keyvault_secret.hpp
Keyvault Secret definition.
Azure::Security::KeyVault::Secrets::DeletedSecret::DeletedOn
Azure::Nullable< Azure::DateTime > DeletedOn
The time when the secret was deleted, in UTC.
Definition: keyvault_deleted_secret.hpp:34
Azure::Security::KeyVault::Secrets::DeletedSecret::ScheduledPurgeDate
Azure::Nullable< Azure::DateTime > ScheduledPurgeDate
The time when the secret is scheduled to be purged, in UTC.
Definition: keyvault_deleted_secret.hpp:29
Azure::Security::KeyVault::Secrets::DeletedSecret::DeletedSecret
DeletedSecret(std::string name)
Constructor.
Definition: keyvault_deleted_secret.hpp:46
Azure::Security::KeyVault::Secrets::DeletedSecret::RecoveryId
std::string RecoveryId
A Deleted Secret consisting of its previous id, attributes and its tags, as well as information on wh...
Definition: keyvault_deleted_secret.hpp:24
Azure::Security::KeyVault::Secrets::DeletedSecret::DeletedSecret
DeletedSecret()=default
Default constructor.