ArmSecretsStoreExtensionModelFactory.SecretSyncStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SecretSyncStatus.
public static Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncStatus SecretSyncStatus(DateTimeOffset? lastSuccessfulSyncOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncCondition> conditions = default);
static member SecretSyncStatus : Nullable<DateTimeOffset> * seq<Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncCondition> -> Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncStatus
Public Shared Function SecretSyncStatus (Optional lastSuccessfulSyncOn As Nullable(Of DateTimeOffset) = Nothing, Optional conditions As IEnumerable(Of SecretSyncCondition) = Nothing) As SecretSyncStatus
Parameters
- lastSuccessfulSyncOn
- Nullable<DateTimeOffset>
LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
- conditions
- IEnumerable<SecretSyncCondition>
Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
Returns
A new SecretSyncStatus instance for mocking.