File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/ResourceManager/RecoveryServices
Commands.RecoveryServices.Backup
Commands.RecoveryServices.Backup.Providers/Providers Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ private RestAzureNS.AzureOperationResponse<ProtectionPolicyResource> CreateorMod
336
336
( CmdletModel . LongTermRetentionPolicy ) ( ( AzureFileSharePolicy ) policy ) . RetentionPolicy ) ;
337
337
azureFileShareProtectionPolicy . SchedulePolicy = PolicyHelpers . GetServiceClientSimpleSchedulePolicy (
338
338
( CmdletModel . SimpleSchedulePolicy ) ( ( AzureFileSharePolicy ) policy ) . SchedulePolicy ) ;
339
- azureFileShareProtectionPolicy . TimeZone = DateTimeKind . Utc . ToString ( ) ;
339
+ azureFileShareProtectionPolicy . TimeZone = DateTimeKind . Utc . ToString ( ) . ToUpper ( ) ;
340
340
azureFileShareProtectionPolicy . WorkLoadType = ConversionUtils . GetServiceClientWorkloadType ( policy . WorkloadType . ToString ( ) ) ;
341
341
serviceClientRequest . Properties = azureFileShareProtectionPolicy ;
342
342
@@ -374,7 +374,7 @@ private RestAzureNS.AzureOperationResponse<ProtectionPolicyResource> CreateorMod
374
374
( CmdletModel . LongTermRetentionPolicy ) retentionPolicy ) ;
375
375
azureFileShareProtectionPolicy . SchedulePolicy = PolicyHelpers . GetServiceClientSimpleSchedulePolicy (
376
376
( CmdletModel . SimpleSchedulePolicy ) schedulePolicy ) ;
377
- azureFileShareProtectionPolicy . TimeZone = DateTimeKind . Utc . ToString ( ) ;
377
+ azureFileShareProtectionPolicy . TimeZone = DateTimeKind . Utc . ToString ( ) . ToUpper ( ) ;
378
378
azureFileShareProtectionPolicy . WorkLoadType = ConversionUtils . GetServiceClientWorkloadType ( workloadType . ToString ( ) ) ;
379
379
serviceClientRequest . Properties = azureFileShareProtectionPolicy ;
380
380
}
Original file line number Diff line number Diff line change @@ -525,7 +525,7 @@ public ProtectionPolicyResource CreatePolicy()
525
525
( CmdletModel . LongTermRetentionPolicy ) retentionPolicy ) ,
526
526
SchedulePolicy = PolicyHelpers . GetServiceClientSimpleSchedulePolicy (
527
527
( CmdletModel . SimpleSchedulePolicy ) schedulePolicy ) ,
528
- TimeZone = DateTimeKind . Utc . ToString ( )
528
+ TimeZone = DateTimeKind . Utc . ToString ( ) . ToUpper ( )
529
529
}
530
530
531
531
} ;
@@ -604,7 +604,7 @@ public RestAzureNS.AzureOperationResponse<ProtectionPolicyResource> ModifyPolicy
604
604
( CmdletModel . LongTermRetentionPolicy ) ( ( AzureVmPolicy ) policy ) . RetentionPolicy ) ,
605
605
SchedulePolicy = PolicyHelpers . GetServiceClientSimpleSchedulePolicy (
606
606
( CmdletModel . SimpleSchedulePolicy ) ( ( AzureVmPolicy ) policy ) . SchedulePolicy ) ,
607
- TimeZone = DateTimeKind . Utc . ToString ( )
607
+ TimeZone = DateTimeKind . Utc . ToString ( ) . ToUpper ( )
608
608
}
609
609
} ;
610
610
Original file line number Diff line number Diff line change 19
19
-->
20
20
## Current Release
21
21
* Fix for modifying policy for a protected file share.
22
+ * Converted policy timezone to uppercase.
22
23
23
24
## Version 4.5.0
24
25
* Added support for azure file shares in recovery services.
You can’t perform that action at this time.
0 commit comments