diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/RetentionPolicy.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/RetentionPolicy.cs
index c758137bfda0..3d10bdffaa32 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/RetentionPolicy.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/RetentionPolicy.cs
@@ -31,7 +31,7 @@ public RetentionPolicy()
///
/// The number of days to retain manifest before it
/// expires.
- /// The timestamp when the the policy was
+ /// The timestamp when the policy was
/// last updated.
/// The value that indicates whether the policy is
/// enabled or not. Possible values include: 'enabled',
@@ -57,7 +57,7 @@ public RetentionPolicy()
public int? Days { get; set; }
///
- /// Gets the timestamp when the the policy was last updated.
+ /// Gets the timestamp when the policy was last updated.
///
[JsonProperty(PropertyName = "lastUpdatedTime")]
public System.DateTime? LastUpdatedTime { get; private set; }
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Run.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Run.cs
index 122eb6150c8a..e3859176228c 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Run.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Run.cs
@@ -73,7 +73,9 @@ public Run()
/// 'Succeeded', 'Failed', 'Canceled'
/// The value that indicates whether
/// archiving is enabled or not.
- public Run(string id = default(string), string name = default(string), string type = default(string), string runId = default(string), string status = default(string), System.DateTime? lastUpdatedTime = default(System.DateTime?), string runType = default(string), System.DateTime? createTime = default(System.DateTime?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? finishTime = default(System.DateTime?), IList outputImages = default(IList), string task = default(string), ImageUpdateTrigger imageUpdateTrigger = default(ImageUpdateTrigger), SourceTriggerDescriptor sourceTrigger = default(SourceTriggerDescriptor), PlatformProperties platform = default(PlatformProperties), AgentProperties agentConfiguration = default(AgentProperties), string sourceRegistryAuth = default(string), IList customRegistries = default(IList), string runErrorMessage = default(string), string provisioningState = default(string), bool? isArchiveEnabled = default(bool?))
+ /// The timer trigger that caused the
+ /// run.
+ public Run(string id = default(string), string name = default(string), string type = default(string), string runId = default(string), string status = default(string), System.DateTime? lastUpdatedTime = default(System.DateTime?), string runType = default(string), System.DateTime? createTime = default(System.DateTime?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? finishTime = default(System.DateTime?), IList outputImages = default(IList), string task = default(string), ImageUpdateTrigger imageUpdateTrigger = default(ImageUpdateTrigger), SourceTriggerDescriptor sourceTrigger = default(SourceTriggerDescriptor), PlatformProperties platform = default(PlatformProperties), AgentProperties agentConfiguration = default(AgentProperties), string sourceRegistryAuth = default(string), IList customRegistries = default(IList), string runErrorMessage = default(string), string provisioningState = default(string), bool? isArchiveEnabled = default(bool?), TimerTriggerDescriptor timerTrigger = default(TimerTriggerDescriptor))
: base(id, name, type)
{
RunId = runId;
@@ -94,6 +96,7 @@ public Run()
RunErrorMessage = runErrorMessage;
ProvisioningState = provisioningState;
IsArchiveEnabled = isArchiveEnabled;
+ TimerTrigger = timerTrigger;
CustomInit();
}
@@ -223,6 +226,12 @@ public Run()
[JsonProperty(PropertyName = "properties.isArchiveEnabled")]
public bool? IsArchiveEnabled { get; set; }
+ ///
+ /// Gets or sets the timer trigger that caused the run.
+ ///
+ [JsonProperty(PropertyName = "properties.timerTrigger")]
+ public TimerTriggerDescriptor TimerTrigger { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TimerTriggerDescriptor.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TimerTriggerDescriptor.cs
new file mode 100644
index 000000000000..2fbccc4b5f58
--- /dev/null
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TimerTriggerDescriptor.cs
@@ -0,0 +1,58 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.ContainerRegistry.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ public partial class TimerTriggerDescriptor
+ {
+ ///
+ /// Initializes a new instance of the TimerTriggerDescriptor class.
+ ///
+ public TimerTriggerDescriptor()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TimerTriggerDescriptor class.
+ ///
+ /// The timer trigger name that caused
+ /// the run.
+ /// The occurrence that triggered the
+ /// run.
+ public TimerTriggerDescriptor(string timerTriggerName = default(string), string scheduleOccurrence = default(string))
+ {
+ TimerTriggerName = timerTriggerName;
+ ScheduleOccurrence = scheduleOccurrence;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the timer trigger name that caused the run.
+ ///
+ [JsonProperty(PropertyName = "timerTriggerName")]
+ public string TimerTriggerName { get; set; }
+
+ ///
+ /// Gets or sets the occurrence that triggered the run.
+ ///
+ [JsonProperty(PropertyName = "scheduleOccurrence")]
+ public string ScheduleOccurrence { get; set; }
+
+ }
+}