diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/ITaskRunsOperations.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/ITaskRunsOperations.cs
index a0d3336155e9..d59f582b399c 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/ITaskRunsOperations.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/ITaskRunsOperations.cs
@@ -33,7 +33,7 @@ public partial interface ITaskRunsOperations
/// The name of the container registry.
///
///
- /// The run request name.
+ /// The name of the task run.
///
///
/// The headers that will be added to request.
@@ -63,7 +63,7 @@ public partial interface ITaskRunsOperations
/// The name of the container registry.
///
///
- /// The name of task run.
+ /// The name of the task run.
///
///
/// The parameters of a run that needs to scheduled.
@@ -95,7 +95,7 @@ public partial interface ITaskRunsOperations
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The headers that will be added to request.
@@ -121,7 +121,7 @@ public partial interface ITaskRunsOperations
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The parameters for updating a task run.
@@ -154,7 +154,7 @@ public partial interface ITaskRunsOperations
/// The name of the container registry.
///
///
- /// The run request name.
+ /// The name of the task run.
///
///
/// The headers that will be added to request.
@@ -210,7 +210,7 @@ public partial interface ITaskRunsOperations
/// The name of the container registry.
///
///
- /// The name of task run.
+ /// The name of the task run.
///
///
/// The parameters of a run that needs to scheduled.
@@ -242,7 +242,7 @@ public partial interface ITaskRunsOperations
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The headers that will be added to request.
@@ -268,7 +268,7 @@ public partial interface ITaskRunsOperations
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The parameters for updating a task run.
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/AgentPool.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/AgentPool.cs
index d75d5917e799..919fb470fabd 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/AgentPool.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/AgentPool.cs
@@ -41,6 +41,8 @@ public AgentPool()
/// The name of the resource.
/// The type of the resource.
/// The tags of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The count of agent machine
/// The Tier of agent machine
/// The OS of agent machine. Possible values include:
@@ -50,8 +52,8 @@ public AgentPool()
/// The provisioning state of this
/// agent pool. Possible values include: 'Creating', 'Updating',
/// 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- public AgentPool(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), int? count = default(int?), string tier = default(string), string os = default(string), string virtualNetworkSubnetResourceId = default(string), string provisioningState = default(string))
- : base(location, id, name, type, tags)
+ public AgentPool(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), int? count = default(int?), string tier = default(string), string os = default(string), string virtualNetworkSubnetResourceId = default(string), string provisioningState = default(string))
+ : base(location, id, name, type, tags, systemData)
{
Count = count;
Tier = tier;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/CreatedByType.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/CreatedByType.cs
new file mode 100644
index 000000000000..e47c39c72395
--- /dev/null
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/CreatedByType.cs
@@ -0,0 +1,24 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for CreatedByType.
+ ///
+ public static class CreatedByType
+ {
+ public const string User = "User";
+ public const string Application = "Application";
+ public const string ManagedIdentity = "ManagedIdentity";
+ public const string Key = "Key";
+ }
+}
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/DockerBuildRequest.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/DockerBuildRequest.cs
index 95987281ab3e..2b0288b3f924 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/DockerBuildRequest.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/DockerBuildRequest.cs
@@ -40,6 +40,8 @@ public DockerBuildRequest()
/// archiving is enabled for the run or not.
/// The dedicated agent pool for the
/// run.
+ /// The template that describes the
+ /// repository and tag information for run log artifact.
/// The fully qualified image names including
/// the repository and tag.
/// The value of this property indicates
@@ -60,8 +62,8 @@ public DockerBuildRequest()
/// calling listBuildSourceUploadUrl API.
/// The properties that describes a set of
/// credentials that will be used when this run is invoked.
- public DockerBuildRequest(string dockerFilePath, PlatformProperties platform, bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), IList imageNames = default(IList), bool? isPushEnabled = default(bool?), bool? noCache = default(bool?), string target = default(string), IList arguments = default(IList), int? timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string), Credentials credentials = default(Credentials))
- : base(isArchiveEnabled, agentPoolName)
+ public DockerBuildRequest(string dockerFilePath, PlatformProperties platform, bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), string logTemplate = default(string), IList imageNames = default(IList), bool? isPushEnabled = default(bool?), bool? noCache = default(bool?), string target = default(string), IList arguments = default(IList), int? timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string), Credentials credentials = default(Credentials))
+ : base(isArchiveEnabled, agentPoolName, logTemplate)
{
ImageNames = imageNames;
IsPushEnabled = isPushEnabled;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/EncodedTaskRunRequest.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/EncodedTaskRunRequest.cs
index 16d681bed82e..1446871fdafb 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/EncodedTaskRunRequest.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/EncodedTaskRunRequest.cs
@@ -40,6 +40,8 @@ public EncodedTaskRunRequest()
/// archiving is enabled for the run or not.
/// The dedicated agent pool for the
/// run.
+ /// The template that describes the
+ /// repository and tag information for run log artifact.
/// Base64 encoded value of the
/// parameters/values file content.
/// The collection of overridable values that can
@@ -53,8 +55,8 @@ public EncodedTaskRunRequest()
/// calling listBuildSourceUploadUrl API.
/// The properties that describes a set of
/// credentials that will be used when this run is invoked.
- public EncodedTaskRunRequest(string encodedTaskContent, PlatformProperties platform, bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), string encodedValuesContent = default(string), IList values = default(IList), int? timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string), Credentials credentials = default(Credentials))
- : base(isArchiveEnabled, agentPoolName)
+ public EncodedTaskRunRequest(string encodedTaskContent, PlatformProperties platform, bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), string logTemplate = default(string), string encodedValuesContent = default(string), IList values = default(IList), int? timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string), Credentials credentials = default(Credentials))
+ : base(isArchiveEnabled, agentPoolName, logTemplate)
{
EncodedTaskContent = encodedTaskContent;
EncodedValuesContent = encodedValuesContent;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ExportPipeline.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ExportPipeline.cs
index a4723490d9ce..51d396db6852 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ExportPipeline.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ExportPipeline.cs
@@ -39,6 +39,8 @@ public ExportPipeline()
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The location of the export pipeline.
/// The identity of the export pipeline.
/// The list of all options configured for the
@@ -47,8 +49,8 @@ public ExportPipeline()
/// pipeline at the time the operation was called. Possible values
/// include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
/// 'Canceled'
- public ExportPipeline(ExportPipelineTargetProperties target, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IdentityProperties identity = default(IdentityProperties), IList options = default(IList), string provisioningState = default(string))
- : base(id, name, type)
+ public ExportPipeline(ExportPipelineTargetProperties target, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string location = default(string), IdentityProperties identity = default(IdentityProperties), IList options = default(IList), string provisioningState = default(string))
+ : base(id, name, type, systemData)
{
Location = location;
Identity = identity;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/FileTaskRunRequest.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/FileTaskRunRequest.cs
index b74153c8b378..167e780e7407 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/FileTaskRunRequest.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/FileTaskRunRequest.cs
@@ -40,6 +40,8 @@ public FileTaskRunRequest()
/// archiving is enabled for the run or not.
/// The dedicated agent pool for the
/// run.
+ /// The template that describes the
+ /// repository and tag information for run log artifact.
/// The values/parameters file path
/// relative to the source.
/// The collection of overridable values that can
@@ -53,8 +55,8 @@ public FileTaskRunRequest()
/// calling listBuildSourceUploadUrl API.
/// The properties that describes a set of
/// credentials that will be used when this run is invoked.
- public FileTaskRunRequest(string taskFilePath, PlatformProperties platform, bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), string valuesFilePath = default(string), IList values = default(IList), int? timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string), Credentials credentials = default(Credentials))
- : base(isArchiveEnabled, agentPoolName)
+ public FileTaskRunRequest(string taskFilePath, PlatformProperties platform, bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), string logTemplate = default(string), string valuesFilePath = default(string), IList values = default(IList), int? timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string), Credentials credentials = default(Credentials))
+ : base(isArchiveEnabled, agentPoolName, logTemplate)
{
TaskFilePath = taskFilePath;
ValuesFilePath = valuesFilePath;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ImportPipeline.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ImportPipeline.cs
index 09c1ae805b87..a86db9795abd 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ImportPipeline.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ImportPipeline.cs
@@ -39,6 +39,8 @@ public ImportPipeline()
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The location of the import pipeline.
/// The identity of the import pipeline.
/// The properties that describe the trigger of
@@ -49,8 +51,8 @@ public ImportPipeline()
/// pipeline at the time the operation was called. Possible values
/// include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
/// 'Canceled'
- public ImportPipeline(ImportPipelineSourceProperties source, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IdentityProperties identity = default(IdentityProperties), PipelineTriggerProperties trigger = default(PipelineTriggerProperties), IList options = default(IList), string provisioningState = default(string))
- : base(id, name, type)
+ public ImportPipeline(ImportPipelineSourceProperties source, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string location = default(string), IdentityProperties identity = default(IdentityProperties), PipelineTriggerProperties trigger = default(PipelineTriggerProperties), IList options = default(IList), string provisioningState = default(string))
+ : base(id, name, type, systemData)
{
Location = location;
Identity = identity;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/KeyVaultProperties.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/KeyVaultProperties.cs
index c0fd813bd132..e385ebadf09c 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/KeyVaultProperties.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/KeyVaultProperties.cs
@@ -33,11 +33,17 @@ public KeyVaultProperties()
/// used for encryption.
/// The client id of the identity which will be
/// used to access key vault.
- public KeyVaultProperties(string keyIdentifier = default(string), string versionedKeyIdentifier = default(string), string identity = default(string))
+ /// Auto key rotation status for a CMK
+ /// enabled registry.
+ /// Timestamp of the last
+ /// successful key rotation.
+ public KeyVaultProperties(string keyIdentifier = default(string), string versionedKeyIdentifier = default(string), string identity = default(string), bool? keyRotationEnabled = default(bool?), System.DateTime? lastKeyRotationTimestamp = default(System.DateTime?))
{
KeyIdentifier = keyIdentifier;
VersionedKeyIdentifier = versionedKeyIdentifier;
Identity = identity;
+ KeyRotationEnabled = keyRotationEnabled;
+ LastKeyRotationTimestamp = lastKeyRotationTimestamp;
CustomInit();
}
@@ -66,5 +72,17 @@ public KeyVaultProperties()
[JsonProperty(PropertyName = "identity")]
public string Identity { get; set; }
+ ///
+ /// Gets auto key rotation status for a CMK enabled registry.
+ ///
+ [JsonProperty(PropertyName = "keyRotationEnabled")]
+ public bool? KeyRotationEnabled { get; private set; }
+
+ ///
+ /// Gets timestamp of the last successful key rotation.
+ ///
+ [JsonProperty(PropertyName = "lastKeyRotationTimestamp")]
+ public System.DateTime? LastKeyRotationTimestamp { get; private set; }
+
}
}
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/LastModifiedByType.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/LastModifiedByType.cs
new file mode 100644
index 000000000000..7cb0f1c207ae
--- /dev/null
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/LastModifiedByType.cs
@@ -0,0 +1,24 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for LastModifiedByType.
+ ///
+ public static class LastModifiedByType
+ {
+ public const string User = "User";
+ public const string Application = "Application";
+ public const string ManagedIdentity = "ManagedIdentity";
+ public const string Key = "Key";
+ }
+}
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/PipelineRun.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/PipelineRun.cs
index f6fc687cdcdf..78fc8228ffa0 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/PipelineRun.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/PipelineRun.cs
@@ -35,6 +35,8 @@ public PipelineRun()
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The provisioning state of a
/// pipeline run. Possible values include: 'Creating', 'Updating',
/// 'Deleting', 'Succeeded', 'Failed', 'Canceled'
@@ -44,8 +46,8 @@ public PipelineRun()
/// How the pipeline run should be forced
/// to recreate even if the pipeline run configuration has not
/// changed.
- public PipelineRun(string id = default(string), string name = default(string), string type = default(string), string provisioningState = default(string), PipelineRunRequest request = default(PipelineRunRequest), PipelineRunResponse response = default(PipelineRunResponse), string forceUpdateTag = default(string))
- : base(id, name, type)
+ public PipelineRun(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), PipelineRunRequest request = default(PipelineRunRequest), PipelineRunResponse response = default(PipelineRunResponse), string forceUpdateTag = default(string))
+ : base(id, name, type, systemData)
{
ProvisioningState = provisioningState;
Request = request;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/PrivateEndpointConnection.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/PrivateEndpointConnection.cs
index aa11d266054f..7f170f8c2f4b 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/PrivateEndpointConnection.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/PrivateEndpointConnection.cs
@@ -36,6 +36,8 @@ public PrivateEndpointConnection()
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The resource of private
/// endpoint.
/// A collection of
@@ -44,8 +46,8 @@ public PrivateEndpointConnection()
/// The provisioning state of private
/// endpoint connection resource. Possible values include: 'Creating',
/// 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string))
- : base(id, name, type)
+ public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string))
+ : base(id, name, type, systemData)
{
PrivateEndpoint = privateEndpoint;
PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ProxyResource.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ProxyResource.cs
index f5febadd4c36..14e8a35517ad 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ProxyResource.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ProxyResource.cs
@@ -35,11 +35,14 @@ public ProxyResource()
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
- public ProxyResource(string id = default(string), string name = default(string), string type = default(string))
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
+ public ProxyResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData))
{
Id = id;
Name = name;
Type = type;
+ SystemData = systemData;
CustomInit();
}
@@ -66,5 +69,12 @@ public ProxyResource()
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
+ ///
+ /// Gets metadata pertaining to creation and last modification of the
+ /// resource.
+ ///
+ [JsonProperty(PropertyName = "systemData")]
+ public SystemData SystemData { get; private set; }
+
}
}
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Registry.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Registry.cs
index c0349a967ee8..8ba8d6a59fc8 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Registry.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Registry.cs
@@ -41,6 +41,8 @@ public Registry()
/// The name of the resource.
/// The type of the resource.
/// The tags of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The identity of the container
/// registry.
/// The URL that can be used to log into the
@@ -72,8 +74,8 @@ public Registry()
/// Whether or not public network
/// access is allowed for the container registry. Possible values
/// include: 'Enabled', 'Disabled'
- public Registry(string location, Sku sku, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), IdentityProperties identity = default(IdentityProperties), string loginServer = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string), Status status = default(Status), bool? adminUserEnabled = default(bool?), StorageAccountProperties storageAccount = default(StorageAccountProperties), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), Policies policies = default(Policies), EncryptionProperty encryption = default(EncryptionProperty), bool? dataEndpointEnabled = default(bool?), IList dataEndpointHostNames = default(IList), IList privateEndpointConnections = default(IList), string publicNetworkAccess = default(string))
- : base(location, id, name, type, tags)
+ public Registry(string location, Sku sku, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), IdentityProperties identity = default(IdentityProperties), string loginServer = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string), Status status = default(Status), bool? adminUserEnabled = default(bool?), StorageAccountProperties storageAccount = default(StorageAccountProperties), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), Policies policies = default(Policies), EncryptionProperty encryption = default(EncryptionProperty), bool? dataEndpointEnabled = default(bool?), IList dataEndpointHostNames = default(IList), IList privateEndpointConnections = default(IList), string publicNetworkAccess = default(string))
+ : base(location, id, name, type, tags, systemData)
{
Sku = sku;
Identity = identity;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Replication.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Replication.cs
index 6b4c57b49dbf..3158ffb22c68 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Replication.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Replication.cs
@@ -40,6 +40,8 @@ public Replication()
/// The name of the resource.
/// The type of the resource.
/// The tags of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The provisioning state of the
/// replication at the time the operation was called. Possible values
/// include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
@@ -51,8 +53,8 @@ public Replication()
/// routed to a replication whose regional endpoint is disabled,
/// however its data will continue to be synced with other
/// replications.
- public Replication(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), Status status = default(Status), bool? regionEndpointEnabled = default(bool?))
- : base(location, id, name, type, tags)
+ public Replication(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string provisioningState = default(string), Status status = default(Status), bool? regionEndpointEnabled = default(bool?))
+ : base(location, id, name, type, tags, systemData)
{
ProvisioningState = provisioningState;
Status = status;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Resource.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Resource.cs
index d391546c45b6..7237c43ef357 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Resource.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Resource.cs
@@ -39,13 +39,16 @@ public Resource()
/// The name of the resource.
/// The type of the resource.
/// The tags of the resource.
- public Resource(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary))
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
+ public Resource(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData))
{
Id = id;
Name = name;
Type = type;
Location = location;
Tags = tags;
+ SystemData = systemData;
CustomInit();
}
@@ -85,6 +88,13 @@ public Resource()
[JsonProperty(PropertyName = "tags")]
public IDictionary Tags { get; set; }
+ ///
+ /// Gets metadata pertaining to creation and last modification of the
+ /// resource.
+ ///
+ [JsonProperty(PropertyName = "systemData")]
+ public SystemData SystemData { get; private set; }
+
///
/// Validate the object.
///
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 6bbd29be30e5..992d9205f9a0 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
@@ -37,6 +37,8 @@ public Run()
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The unique identifier for the run.
/// The current status of the run. Possible values
/// include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed',
@@ -74,13 +76,15 @@ public Run()
/// backend systems after the run is scheduled.
/// The update trigger token passed
/// for the Run.
+ /// The image description for the log
+ /// artifact.
/// The provisioning state of a run.
/// Possible values include: 'Creating', 'Updating', 'Deleting',
/// '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), string agentPoolName = 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), TimerTriggerDescriptor timerTrigger = default(TimerTriggerDescriptor), PlatformProperties platform = default(PlatformProperties), AgentProperties agentConfiguration = default(AgentProperties), string sourceRegistryAuth = default(string), IList customRegistries = default(IList), string runErrorMessage = default(string), string updateTriggerToken = default(string), string provisioningState = default(string), bool? isArchiveEnabled = default(bool?))
- : base(id, name, type)
+ public Run(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string runId = default(string), string status = default(string), System.DateTime? lastUpdatedTime = default(System.DateTime?), string runType = default(string), string agentPoolName = 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), TimerTriggerDescriptor timerTrigger = default(TimerTriggerDescriptor), PlatformProperties platform = default(PlatformProperties), AgentProperties agentConfiguration = default(AgentProperties), string sourceRegistryAuth = default(string), IList customRegistries = default(IList), string runErrorMessage = default(string), string updateTriggerToken = default(string), ImageDescriptor logArtifact = default(ImageDescriptor), string provisioningState = default(string), bool? isArchiveEnabled = default(bool?))
+ : base(id, name, type, systemData)
{
RunId = runId;
Status = status;
@@ -101,6 +105,7 @@ public Run()
CustomRegistries = customRegistries;
RunErrorMessage = runErrorMessage;
UpdateTriggerToken = updateTriggerToken;
+ LogArtifact = logArtifact;
ProvisioningState = provisioningState;
IsArchiveEnabled = isArchiveEnabled;
CustomInit();
@@ -235,6 +240,12 @@ public Run()
[JsonProperty(PropertyName = "properties.updateTriggerToken")]
public string UpdateTriggerToken { get; set; }
+ ///
+ /// Gets the image description for the log artifact.
+ ///
+ [JsonProperty(PropertyName = "properties.logArtifact")]
+ public ImageDescriptor LogArtifact { get; private set; }
+
///
/// Gets or sets the provisioning state of a run. Possible values
/// include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/RunRequest.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/RunRequest.cs
index 8051516beb11..243c5c39b2a1 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/RunRequest.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/RunRequest.cs
@@ -33,10 +33,13 @@ public RunRequest()
/// archiving is enabled for the run or not.
/// The dedicated agent pool for the
/// run.
- public RunRequest(bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string))
+ /// The template that describes the
+ /// repository and tag information for run log artifact.
+ public RunRequest(bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), string logTemplate = default(string))
{
IsArchiveEnabled = isArchiveEnabled;
AgentPoolName = agentPoolName;
+ LogTemplate = logTemplate;
CustomInit();
}
@@ -58,5 +61,12 @@ public RunRequest()
[JsonProperty(PropertyName = "agentPoolName")]
public string AgentPoolName { get; set; }
+ ///
+ /// Gets or sets the template that describes the repository and tag
+ /// information for run log artifact.
+ ///
+ [JsonProperty(PropertyName = "logTemplate")]
+ public string LogTemplate { get; set; }
+
}
}
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ScopeMap.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ScopeMap.cs
index 1e361dca433d..008d969f804c 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ScopeMap.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/ScopeMap.cs
@@ -41,6 +41,8 @@ public ScopeMap()
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The user friendly description of the
/// scope map.
/// The type of the scope map. E.g. BuildIn
@@ -49,8 +51,8 @@ public ScopeMap()
/// Provisioning state of the resource.
/// Possible values include: 'Creating', 'Updating', 'Deleting',
/// 'Succeeded', 'Failed', 'Canceled'
- public ScopeMap(IList actions, string id = default(string), string name = default(string), string type = default(string), string description = default(string), string scopeMapType = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string))
- : base(id, name, type)
+ public ScopeMap(IList actions, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string description = default(string), string scopeMapType = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string))
+ : base(id, name, type, systemData)
{
Description = description;
ScopeMapType = scopeMapType;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/SystemData.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/SystemData.cs
new file mode 100644
index 000000000000..31a7e8d16c68
--- /dev/null
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/SystemData.cs
@@ -0,0 +1,103 @@
+//
+// 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;
+
+ ///
+ /// Metadata pertaining to creation and last modification of the resource.
+ ///
+ public partial class SystemData
+ {
+ ///
+ /// Initializes a new instance of the SystemData class.
+ ///
+ public SystemData()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the SystemData class.
+ ///
+ /// The identity that created the
+ /// resource.
+ /// The type of identity that created the
+ /// resource. Possible values include: 'User', 'Application',
+ /// 'ManagedIdentity', 'Key'
+ /// The timestamp of resource creation
+ /// (UTC).
+ /// The identity that last modified the
+ /// resource.
+ /// The type of identity that last
+ /// modified the resource. Possible values include: 'User',
+ /// 'Application', 'ManagedIdentity', 'Key'
+ /// The timestamp of resource modification
+ /// (UTC).
+ public SystemData(string createdBy = default(string), string createdByType = default(string), System.DateTime? createdAt = default(System.DateTime?), string lastModifiedBy = default(string), string lastModifiedByType = default(string), System.DateTime? lastModifiedAt = default(System.DateTime?))
+ {
+ CreatedBy = createdBy;
+ CreatedByType = createdByType;
+ CreatedAt = createdAt;
+ LastModifiedBy = lastModifiedBy;
+ LastModifiedByType = lastModifiedByType;
+ LastModifiedAt = lastModifiedAt;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the identity that created the resource.
+ ///
+ [JsonProperty(PropertyName = "createdBy")]
+ public string CreatedBy { get; set; }
+
+ ///
+ /// Gets or sets the type of identity that created the resource.
+ /// Possible values include: 'User', 'Application', 'ManagedIdentity',
+ /// 'Key'
+ ///
+ [JsonProperty(PropertyName = "createdByType")]
+ public string CreatedByType { get; set; }
+
+ ///
+ /// Gets or sets the timestamp of resource creation (UTC).
+ ///
+ [JsonProperty(PropertyName = "createdAt")]
+ public System.DateTime? CreatedAt { get; set; }
+
+ ///
+ /// Gets or sets the identity that last modified the resource.
+ ///
+ [JsonProperty(PropertyName = "lastModifiedBy")]
+ public string LastModifiedBy { get; set; }
+
+ ///
+ /// Gets or sets the type of identity that last modified the resource.
+ /// Possible values include: 'User', 'Application', 'ManagedIdentity',
+ /// 'Key'
+ ///
+ [JsonProperty(PropertyName = "lastModifiedByType")]
+ public string LastModifiedByType { get; set; }
+
+ ///
+ /// Gets or sets the timestamp of resource modification (UTC).
+ ///
+ [JsonProperty(PropertyName = "lastModifiedAt")]
+ public System.DateTime? LastModifiedAt { get; set; }
+
+ }
+}
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Task.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Task.cs
index 71b894648dd5..994810923220 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Task.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Task.cs
@@ -37,13 +37,12 @@ public Task()
///
/// The location of the resource. This cannot be
/// changed after the resource is created.
- /// The platform properties against which the
- /// run has to happen.
- /// The properties of a task step.
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
/// The tags of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// Identity for the resource.
/// The provisioning state of the task.
/// Possible values include: 'Creating', 'Updating', 'Deleting',
@@ -51,17 +50,24 @@ public Task()
/// The creation date of task.
/// The current status of task. Possible values
/// include: 'Disabled', 'Enabled'
+ /// The platform properties against which the
+ /// run has to happen.
/// The machine configuration of the
/// run agent.
/// The dedicated agent pool for the
/// task.
/// Run timeout in seconds.
+ /// The properties of a task step.
/// The properties that describe all triggers for
/// the task.
/// The properties that describes a set of
/// credentials that will be used when this run is invoked.
- public Task(string location, PlatformProperties platform, TaskStepProperties step, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), IdentityProperties identity = default(IdentityProperties), string provisioningState = default(string), System.DateTime? creationDate = default(System.DateTime?), string status = default(string), AgentProperties agentConfiguration = default(AgentProperties), string agentPoolName = default(string), int? timeout = default(int?), TriggerProperties trigger = default(TriggerProperties), Credentials credentials = default(Credentials))
- : base(location, id, name, type, tags)
+ /// The template that describes the
+ /// repository and tag information for run log artifact.
+ /// The value of this property indicates
+ /// whether the task resource is system task or not.
+ public Task(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), IdentityProperties identity = default(IdentityProperties), string provisioningState = default(string), System.DateTime? creationDate = default(System.DateTime?), string status = default(string), PlatformProperties platform = default(PlatformProperties), AgentProperties agentConfiguration = default(AgentProperties), string agentPoolName = default(string), int? timeout = default(int?), TaskStepProperties step = default(TaskStepProperties), TriggerProperties trigger = default(TriggerProperties), Credentials credentials = default(Credentials), string logTemplate = default(string), bool? isSystemTask = default(bool?))
+ : base(location, id, name, type, tags, systemData)
{
Identity = identity;
ProvisioningState = provisioningState;
@@ -74,6 +80,8 @@ public Task()
Step = step;
Trigger = trigger;
Credentials = credentials;
+ LogTemplate = logTemplate;
+ IsSystemTask = isSystemTask;
CustomInit();
}
@@ -154,6 +162,20 @@ public Task()
[JsonProperty(PropertyName = "properties.credentials")]
public Credentials Credentials { get; set; }
+ ///
+ /// Gets or sets the template that describes the repository and tag
+ /// information for run log artifact.
+ ///
+ [JsonProperty(PropertyName = "properties.logTemplate")]
+ public string LogTemplate { get; set; }
+
+ ///
+ /// Gets or sets the value of this property indicates whether the task
+ /// resource is system task or not.
+ ///
+ [JsonProperty(PropertyName = "properties.isSystemTask")]
+ public bool? IsSystemTask { get; set; }
+
///
/// Validate the object.
///
@@ -163,14 +185,6 @@ public Task()
public override void Validate()
{
base.Validate();
- if (Platform == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Platform");
- }
- if (Step == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Step");
- }
if (Platform != null)
{
Platform.Validate();
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRun.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRun.cs
index 8a5fc76b53e8..b0c56d0f972a 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRun.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRun.cs
@@ -13,8 +13,6 @@ namespace Microsoft.Azure.Management.ContainerRegistry.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
using System.Linq;
///
@@ -22,7 +20,7 @@ namespace Microsoft.Azure.Management.ContainerRegistry.Models
/// The task run will have the information of request and result of a run.
///
[Rest.Serialization.JsonTransformation]
- public partial class TaskRun : Resource
+ public partial class TaskRun : ProxyResource
{
///
/// Initializes a new instance of the TaskRun class.
@@ -35,12 +33,11 @@ public TaskRun()
///
/// Initializes a new instance of the TaskRun class.
///
- /// The location of the resource. This cannot be
- /// changed after the resource is created.
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
- /// The tags of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// Identity for the resource.
/// The provisioning state of this task
/// run. Possible values include: 'Creating', 'Updating', 'Deleting',
@@ -50,14 +47,16 @@ public TaskRun()
/// The result of this task run
/// How the run should be forced to rerun
/// even if the run request configuration has not changed
- public TaskRun(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), IdentityProperties identity = default(IdentityProperties), string provisioningState = default(string), RunRequest runRequest = default(RunRequest), Run runResult = default(Run), string forceUpdateTag = default(string))
- : base(location, id, name, type, tags)
+ /// The location of the resource
+ public TaskRun(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IdentityProperties identity = default(IdentityProperties), string provisioningState = default(string), RunRequest runRequest = default(RunRequest), Run runResult = default(Run), string forceUpdateTag = default(string), string location = default(string))
+ : base(id, name, type, systemData)
{
Identity = identity;
ProvisioningState = provisioningState;
RunRequest = runRequest;
RunResult = runResult;
ForceUpdateTag = forceUpdateTag;
+ Location = location;
CustomInit();
}
@@ -99,15 +98,20 @@ public TaskRun()
[JsonProperty(PropertyName = "properties.forceUpdateTag")]
public string ForceUpdateTag { get; set; }
+ ///
+ /// Gets or sets the location of the resource
+ ///
+ [JsonProperty(PropertyName = "location")]
+ public string Location { get; set; }
+
///
/// Validate the object.
///
///
/// Thrown if validation fails
///
- public override void Validate()
+ public virtual void Validate()
{
- base.Validate();
if (RunResult != null)
{
RunResult.Validate();
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRunRequest.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRunRequest.cs
index b73584fb8945..5485e038c367 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRunRequest.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRunRequest.cs
@@ -36,10 +36,12 @@ public TaskRunRequest()
/// archiving is enabled for the run or not.
/// The dedicated agent pool for the
/// run.
+ /// The template that describes the
+ /// repository and tag information for run log artifact.
/// Set of overridable
/// parameters that can be passed when running a Task.
- public TaskRunRequest(string taskId, bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), OverrideTaskStepProperties overrideTaskStepProperties = default(OverrideTaskStepProperties))
- : base(isArchiveEnabled, agentPoolName)
+ public TaskRunRequest(string taskId, bool? isArchiveEnabled = default(bool?), string agentPoolName = default(string), string logTemplate = default(string), OverrideTaskStepProperties overrideTaskStepProperties = default(OverrideTaskStepProperties))
+ : base(isArchiveEnabled, agentPoolName, logTemplate)
{
TaskId = taskId;
OverrideTaskStepProperties = overrideTaskStepProperties;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRunUpdateParameters.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRunUpdateParameters.cs
index 82dc85f41db3..b8cfef8aa6c5 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRunUpdateParameters.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskRunUpdateParameters.cs
@@ -39,12 +39,14 @@ public TaskRunUpdateParameters()
/// run
/// How the run should be forced to rerun
/// even if the run request configuration has not changed
+ /// The location of the resource
/// The ARM resource tags.
- public TaskRunUpdateParameters(IdentityProperties identity = default(IdentityProperties), RunRequest runRequest = default(RunRequest), string forceUpdateTag = default(string), IDictionary tags = default(IDictionary))
+ public TaskRunUpdateParameters(IdentityProperties identity = default(IdentityProperties), RunRequest runRequest = default(RunRequest), string forceUpdateTag = default(string), string location = default(string), IDictionary tags = default(IDictionary))
{
Identity = identity;
RunRequest = runRequest;
ForceUpdateTag = forceUpdateTag;
+ Location = location;
Tags = tags;
CustomInit();
}
@@ -73,6 +75,12 @@ public TaskRunUpdateParameters()
[JsonProperty(PropertyName = "properties.forceUpdateTag")]
public string ForceUpdateTag { get; set; }
+ ///
+ /// Gets or sets the location of the resource
+ ///
+ [JsonProperty(PropertyName = "location")]
+ public string Location { get; set; }
+
///
/// Gets or sets the ARM resource tags.
///
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskUpdateParameters.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskUpdateParameters.cs
index 4fd793ec4095..21770ffa1a04 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskUpdateParameters.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/TaskUpdateParameters.cs
@@ -49,8 +49,10 @@ public TaskUpdateParameters()
/// properties.
/// The parameters that describes a set of
/// credentials that will be used when this run is invoked.
+ /// The template that describes the
+ /// repository and tag information for run log artifact.
/// The ARM resource tags.
- public TaskUpdateParameters(IdentityProperties identity = default(IdentityProperties), string status = default(string), PlatformUpdateParameters platform = default(PlatformUpdateParameters), AgentProperties agentConfiguration = default(AgentProperties), string agentPoolName = default(string), int? timeout = default(int?), TaskStepUpdateParameters step = default(TaskStepUpdateParameters), TriggerUpdateParameters trigger = default(TriggerUpdateParameters), Credentials credentials = default(Credentials), IDictionary tags = default(IDictionary))
+ public TaskUpdateParameters(IdentityProperties identity = default(IdentityProperties), string status = default(string), PlatformUpdateParameters platform = default(PlatformUpdateParameters), AgentProperties agentConfiguration = default(AgentProperties), string agentPoolName = default(string), int? timeout = default(int?), TaskStepUpdateParameters step = default(TaskStepUpdateParameters), TriggerUpdateParameters trigger = default(TriggerUpdateParameters), Credentials credentials = default(Credentials), string logTemplate = default(string), IDictionary tags = default(IDictionary))
{
Identity = identity;
Status = status;
@@ -61,6 +63,7 @@ public TaskUpdateParameters()
Step = step;
Trigger = trigger;
Credentials = credentials;
+ LogTemplate = logTemplate;
Tags = tags;
CustomInit();
}
@@ -127,6 +130,13 @@ public TaskUpdateParameters()
[JsonProperty(PropertyName = "properties.credentials")]
public Credentials Credentials { get; set; }
+ ///
+ /// Gets or sets the template that describes the repository and tag
+ /// information for run log artifact.
+ ///
+ [JsonProperty(PropertyName = "properties.logTemplate")]
+ public string LogTemplate { get; set; }
+
///
/// Gets or sets the ARM resource tags.
///
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Token.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Token.cs
index 2074653ee882..c582c25c6301 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Token.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Token.cs
@@ -35,6 +35,8 @@ public Token()
/// The resource ID.
/// The name of the resource.
/// The type of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The creation date of scope map.
/// Provisioning state of the resource.
/// Possible values include: 'Creating', 'Updating', 'Deleting',
@@ -45,8 +47,8 @@ public Token()
/// authenticating the token.
/// The status of the token example enabled or
/// disabled. Possible values include: 'enabled', 'disabled'
- public Token(string id = default(string), string name = default(string), string type = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string), string scopeMapId = default(string), TokenCredentialsProperties credentials = default(TokenCredentialsProperties), string status = default(string))
- : base(id, name, type)
+ public Token(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string), string scopeMapId = default(string), TokenCredentialsProperties credentials = default(TokenCredentialsProperties), string status = default(string))
+ : base(id, name, type, systemData)
{
CreationDate = creationDate;
ProvisioningState = provisioningState;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Webhook.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Webhook.cs
index 4d4b1278c712..16481626eae7 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Webhook.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/Webhook.cs
@@ -42,6 +42,8 @@ public Webhook()
/// The name of the resource.
/// The type of the resource.
/// The tags of the resource.
+ /// Metadata pertaining to creation and last
+ /// modification of the resource.
/// The status of the webhook at the time the
/// operation was called. Possible values include: 'enabled',
/// 'disabled'
@@ -53,8 +55,8 @@ public Webhook()
/// webhook at the time the operation was called. Possible values
/// include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
/// 'Canceled'
- public Webhook(string location, IList actions, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string status = default(string), string scope = default(string), string provisioningState = default(string))
- : base(location, id, name, type, tags)
+ public Webhook(string location, IList actions, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string status = default(string), string scope = default(string), string provisioningState = default(string))
+ : base(location, id, name, type, tags, systemData)
{
Status = status;
Scope = scope;
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/SdkInfo_ContainerRegistryManagementClient.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/SdkInfo_ContainerRegistryManagementClient.cs
index af125e4ed8cf..b3e732b41408 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/SdkInfo_ContainerRegistryManagementClient.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/SdkInfo_ContainerRegistryManagementClient.cs
@@ -38,16 +38,5 @@ public static IEnumerable> ApiInfo_ContainerRegist
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/containerregistry/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\dev\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "3903ebec90f50617c36911b25d499a7ae867b740";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/TaskRunsOperations.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/TaskRunsOperations.cs
index 3d15323d10c3..03d32d56b094 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/TaskRunsOperations.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/TaskRunsOperations.cs
@@ -59,7 +59,7 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
/// The name of the container registry.
///
///
- /// The run request name.
+ /// The name of the task run.
///
///
/// Headers that will be added to request.
@@ -122,6 +122,21 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "taskRunName");
}
+ if (taskRunName != null)
+ {
+ if (taskRunName.Length > 50)
+ {
+ throw new ValidationException(ValidationRules.MaxLength, "taskRunName", 50);
+ }
+ if (taskRunName.Length < 5)
+ {
+ throw new ValidationException(ValidationRules.MinLength, "taskRunName", 5);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(taskRunName, "^[a-zA-Z0-9-]*$"))
+ {
+ throw new ValidationException(ValidationRules.Pattern, "taskRunName", "^[a-zA-Z0-9-]*$");
+ }
+ }
string apiVersion = "2019-06-01-preview";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -279,7 +294,7 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
/// The name of the container registry.
///
///
- /// The name of task run.
+ /// The name of the task run.
///
///
/// The parameters of a run that needs to scheduled.
@@ -307,7 +322,7 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The headers that will be added to request.
@@ -332,7 +347,7 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The parameters for updating a task run.
@@ -361,7 +376,7 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
/// The name of the container registry.
///
///
- /// The run request name.
+ /// The name of the task run.
///
///
/// Headers that will be added to request.
@@ -424,6 +439,21 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "taskRunName");
}
+ if (taskRunName != null)
+ {
+ if (taskRunName.Length > 50)
+ {
+ throw new ValidationException(ValidationRules.MaxLength, "taskRunName", 50);
+ }
+ if (taskRunName.Length < 5)
+ {
+ throw new ValidationException(ValidationRules.MinLength, "taskRunName", 5);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(taskRunName, "^[a-zA-Z0-9-]*$"))
+ {
+ throw new ValidationException(ValidationRules.Pattern, "taskRunName", "^[a-zA-Z0-9-]*$");
+ }
+ }
string apiVersion = "2019-06-01-preview";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -792,7 +822,7 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
/// The name of the container registry.
///
///
- /// The name of task run.
+ /// The name of the task run.
///
///
/// The parameters of a run that needs to scheduled.
@@ -858,6 +888,21 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "taskRunName");
}
+ if (taskRunName != null)
+ {
+ if (taskRunName.Length > 50)
+ {
+ throw new ValidationException(ValidationRules.MaxLength, "taskRunName", 50);
+ }
+ if (taskRunName.Length < 5)
+ {
+ throw new ValidationException(ValidationRules.MinLength, "taskRunName", 5);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(taskRunName, "^[a-zA-Z0-9-]*$"))
+ {
+ throw new ValidationException(ValidationRules.Pattern, "taskRunName", "^[a-zA-Z0-9-]*$");
+ }
+ }
if (taskRun == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "taskRun");
@@ -1048,7 +1093,7 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// Headers that will be added to request.
@@ -1108,6 +1153,21 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "taskRunName");
}
+ if (taskRunName != null)
+ {
+ if (taskRunName.Length > 50)
+ {
+ throw new ValidationException(ValidationRules.MaxLength, "taskRunName", 50);
+ }
+ if (taskRunName.Length < 5)
+ {
+ throw new ValidationException(ValidationRules.MinLength, "taskRunName", 5);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(taskRunName, "^[a-zA-Z0-9-]*$"))
+ {
+ throw new ValidationException(ValidationRules.Pattern, "taskRunName", "^[a-zA-Z0-9-]*$");
+ }
+ }
string apiVersion = "2019-06-01-preview";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -1247,7 +1307,7 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The parameters for updating a task run.
@@ -1313,6 +1373,21 @@ internal TaskRunsOperations(ContainerRegistryManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "taskRunName");
}
+ if (taskRunName != null)
+ {
+ if (taskRunName.Length > 50)
+ {
+ throw new ValidationException(ValidationRules.MaxLength, "taskRunName", 50);
+ }
+ if (taskRunName.Length < 5)
+ {
+ throw new ValidationException(ValidationRules.MinLength, "taskRunName", 5);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(taskRunName, "^[a-zA-Z0-9-]*$"))
+ {
+ throw new ValidationException(ValidationRules.Pattern, "taskRunName", "^[a-zA-Z0-9-]*$");
+ }
+ }
if (updateParameters == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "updateParameters");
diff --git a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/TaskRunsOperationsExtensions.cs b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/TaskRunsOperationsExtensions.cs
index 4efe3e6a9a40..fec07a3cc13a 100644
--- a/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/TaskRunsOperationsExtensions.cs
+++ b/sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/TaskRunsOperationsExtensions.cs
@@ -33,7 +33,7 @@ public static partial class TaskRunsOperationsExtensions
/// The name of the container registry.
///
///
- /// The run request name.
+ /// The name of the task run.
///
public static TaskRun Get(this ITaskRunsOperations operations, string resourceGroupName, string registryName, string taskRunName)
{
@@ -53,7 +53,7 @@ public static TaskRun Get(this ITaskRunsOperations operations, string resourceGr
/// The name of the container registry.
///
///
- /// The run request name.
+ /// The name of the task run.
///
///
/// The cancellation token.
@@ -79,7 +79,7 @@ public static TaskRun Get(this ITaskRunsOperations operations, string resourceGr
/// The name of the container registry.
///
///
- /// The name of task run.
+ /// The name of the task run.
///
///
/// The parameters of a run that needs to scheduled.
@@ -102,7 +102,7 @@ public static TaskRun Create(this ITaskRunsOperations operations, string resourc
/// The name of the container registry.
///
///
- /// The name of task run.
+ /// The name of the task run.
///
///
/// The parameters of a run that needs to scheduled.
@@ -131,7 +131,7 @@ public static TaskRun Create(this ITaskRunsOperations operations, string resourc
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
public static void Delete(this ITaskRunsOperations operations, string resourceGroupName, string registryName, string taskRunName)
{
@@ -151,7 +151,7 @@ public static void Delete(this ITaskRunsOperations operations, string resourceGr
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The cancellation token.
@@ -174,7 +174,7 @@ public static void Delete(this ITaskRunsOperations operations, string resourceGr
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The parameters for updating a task run.
@@ -197,7 +197,7 @@ public static TaskRun Update(this ITaskRunsOperations operations, string resourc
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The parameters for updating a task run.
@@ -227,7 +227,7 @@ public static TaskRun Update(this ITaskRunsOperations operations, string resourc
/// The name of the container registry.
///
///
- /// The run request name.
+ /// The name of the task run.
///
public static TaskRun GetDetails(this ITaskRunsOperations operations, string resourceGroupName, string registryName, string taskRunName)
{
@@ -248,7 +248,7 @@ public static TaskRun GetDetails(this ITaskRunsOperations operations, string res
/// The name of the container registry.
///
///
- /// The run request name.
+ /// The name of the task run.
///
///
/// The cancellation token.
@@ -314,7 +314,7 @@ public static IPage List(this ITaskRunsOperations operations, string re
/// The name of the container registry.
///
///
- /// The name of task run.
+ /// The name of the task run.
///
///
/// The parameters of a run that needs to scheduled.
@@ -337,7 +337,7 @@ public static TaskRun BeginCreate(this ITaskRunsOperations operations, string re
/// The name of the container registry.
///
///
- /// The name of task run.
+ /// The name of the task run.
///
///
/// The parameters of a run that needs to scheduled.
@@ -366,7 +366,7 @@ public static TaskRun BeginCreate(this ITaskRunsOperations operations, string re
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
public static void BeginDelete(this ITaskRunsOperations operations, string resourceGroupName, string registryName, string taskRunName)
{
@@ -386,7 +386,7 @@ public static void BeginDelete(this ITaskRunsOperations operations, string resou
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The cancellation token.
@@ -409,7 +409,7 @@ public static void BeginDelete(this ITaskRunsOperations operations, string resou
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The parameters for updating a task run.
@@ -432,7 +432,7 @@ public static TaskRun BeginUpdate(this ITaskRunsOperations operations, string re
/// The name of the container registry.
///
///
- /// The task run name.
+ /// The name of the task run.
///
///
/// The parameters for updating a task run.