important-book-47803
11/16/2021, 3:31 PMBackupPolicy = new PeriodicModeBackupPolicyArgs
{
PeriodicModeProperties = new PeriodicModePropertiesArgs
{
BackupIntervalInMinutes = 1440,
BackupRetentionIntervalInHours = 168
},
Type = "Periodic"
},
This is my code where I am setting it to be periodic but I want to have tests to check these values, however when getting the BackupPolicy.Value it is always of type ContinuousModeBackupPolicyResponse so I am unable to test minutes/hours values. These will change depending on environment.
It does deploy correctly to azure as periodic with those values but don't want to have a manual check around this. For Azure.Core it worked as expected.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by