diff --git a/containerregistry/resource-manager/v2016_06_27_preview/pom.xml b/containerregistry/resource-manager/v2016_06_27_preview/pom.xml
index f67dff810592..290c7c0ff17c 100644
--- a/containerregistry/resource-manager/v2016_06_27_preview/pom.xml
+++ b/containerregistry/resource-manager/v2016_06_27_preview/pom.xml
@@ -19,7 +19,7 @@
jar
Microsoft Azure SDK for ContainerRegistry Management
This package contains Microsoft ContainerRegistry Management SDK.
- https://github.com/Azure/azure-libraries-for-java
+ https://github.com/Azure/azure-sdk-for-java
The MIT License (MIT)
@@ -28,8 +28,8 @@
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
HEAD
diff --git a/containerregistry/resource-manager/v2016_06_27_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2016_06_27_preview/Registry.java b/containerregistry/resource-manager/v2016_06_27_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2016_06_27_preview/Registry.java
index 4d407cfeafbc..1cb4f3980871 100644
--- a/containerregistry/resource-manager/v2016_06_27_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2016_06_27_preview/Registry.java
+++ b/containerregistry/resource-manager/v2016_06_27_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2016_06_27_preview/Registry.java
@@ -73,16 +73,20 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup, Resource.UpdateWithTags, U
*/
interface UpdateStages {
/**
- * The stage of the registry {0} allowing to specify AdminUserEnabled.
+ * The stage of the registry update allowing to specify AdminUserEnabled.
*/
interface WithAdminUserEnabled {
/**
* Specifies adminUserEnabled.
+ * @param adminUserEnabled The value that indicates whether the admin user is enabled. This value is false by default
+ * @return the next update stage
*/
Update withAdminUserEnabled(Boolean adminUserEnabled);
}
/**
- * The stage of the registry {0} allowing to specify StorageAccount.
+ * The stage of the registry update allowing to specify StorageAccount.
*/
interface WithStorageAccount {
/**
* Specifies storageAccount.
+ * @param storageAccount The properties of a storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry
+ * @return the next update stage
*/
Update withStorageAccount(StorageAccountProperties storageAccount);
}
diff --git a/containerregistry/resource-manager/v2016_06_27_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2016_06_27_preview/implementation/ContainerRegistryManagementClientImpl.java b/containerregistry/resource-manager/v2016_06_27_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2016_06_27_preview/implementation/ContainerRegistryManagementClientImpl.java
index ede50ef774ed..d8c82ed32d7d 100644
--- a/containerregistry/resource-manager/v2016_06_27_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2016_06_27_preview/implementation/ContainerRegistryManagementClientImpl.java
+++ b/containerregistry/resource-manager/v2016_06_27_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2016_06_27_preview/implementation/ContainerRegistryManagementClientImpl.java
@@ -63,11 +63,11 @@ public String apiVersion() {
return this.apiVersion;
}
- /** Gets or sets the preferred language for the response. */
+ /** The preferred language for the response. */
private String acceptLanguage;
/**
- * Gets Gets or sets the preferred language for the response.
+ * Gets The preferred language for the response.
*
* @return the acceptLanguage value.
*/
@@ -76,7 +76,7 @@ public String acceptLanguage() {
}
/**
- * Sets Gets or sets the preferred language for the response.
+ * Sets The preferred language for the response.
*
* @param acceptLanguage the acceptLanguage value.
* @return the service client itself
@@ -86,11 +86,11 @@ public ContainerRegistryManagementClientImpl withAcceptLanguage(String acceptLan
return this;
}
- /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */
+ /** The retry timeout in seconds for Long Running Operations. Default value is 30. */
private int longRunningOperationRetryTimeout;
/**
- * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Gets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @return the longRunningOperationRetryTimeout value.
*/
@@ -99,7 +99,7 @@ public int longRunningOperationRetryTimeout() {
}
/**
- * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
* @return the service client itself
@@ -109,11 +109,11 @@ public ContainerRegistryManagementClientImpl withLongRunningOperationRetryTimeou
return this;
}
- /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
+ /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
private boolean generateClientRequestId;
/**
- * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @return the generateClientRequestId value.
*/
@@ -122,7 +122,7 @@ public boolean generateClientRequestId() {
}
/**
- * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @param generateClientRequestId the generateClientRequestId value.
* @return the service client itself
@@ -191,6 +191,6 @@ protected void initialize() {
*/
@Override
public String userAgent() {
- return String.format("%s (%s, %s)", super.userAgent(), "ContainerRegistryManagementClient", "2016-06-27-preview");
+ return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ContainerRegistryManagementClient", "2016-06-27-preview");
}
}
diff --git a/containerregistry/resource-manager/v2017_03_01/pom.xml b/containerregistry/resource-manager/v2017_03_01/pom.xml
index 3364f532ec88..78f9cd3f98c9 100644
--- a/containerregistry/resource-manager/v2017_03_01/pom.xml
+++ b/containerregistry/resource-manager/v2017_03_01/pom.xml
@@ -19,7 +19,7 @@
jar
Microsoft Azure SDK for ContainerRegistry Management
This package contains Microsoft ContainerRegistry Management SDK.
- https://github.com/Azure/azure-libraries-for-java
+ https://github.com/Azure/azure-sdk-for-java
The MIT License (MIT)
@@ -28,8 +28,8 @@
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
HEAD
diff --git a/containerregistry/resource-manager/v2017_03_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_03_01/Registry.java b/containerregistry/resource-manager/v2017_03_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_03_01/Registry.java
index b52bf2980852..e4dbcebf835c 100644
--- a/containerregistry/resource-manager/v2017_03_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_03_01/Registry.java
+++ b/containerregistry/resource-manager/v2017_03_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_03_01/Registry.java
@@ -83,7 +83,9 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup, Resource.UpdateWithTags, U
*/
interface UpdateStages {
/**
- * The stage of the registry {0} allowing to specify AdminUserEnabled.
+ * The stage of the registry update allowing to specify AdminUserEnabled.
*/
interface WithAdminUserEnabled {
/**
* Specifies adminUserEnabled.
+ * @param adminUserEnabled The value that indicates whether the admin user is enabled
+ * @return the next update stage
*/
Update withAdminUserEnabled(Boolean adminUserEnabled);
}
/**
- * The stage of the registry {0} allowing to specify StorageAccount.
+ * The stage of the registry update allowing to specify StorageAccount.
*/
interface WithStorageAccount {
/**
* Specifies storageAccount.
+ * @param storageAccount The parameters of a storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry
+ * @return the next update stage
*/
Update withStorageAccount(StorageAccountParameters storageAccount);
}
diff --git a/containerregistry/resource-manager/v2017_03_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_03_01/implementation/ContainerRegistryManagementClientImpl.java b/containerregistry/resource-manager/v2017_03_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_03_01/implementation/ContainerRegistryManagementClientImpl.java
index b2ab1bf2c8e5..cf4ac3ac1449 100644
--- a/containerregistry/resource-manager/v2017_03_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_03_01/implementation/ContainerRegistryManagementClientImpl.java
+++ b/containerregistry/resource-manager/v2017_03_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_03_01/implementation/ContainerRegistryManagementClientImpl.java
@@ -63,11 +63,11 @@ public String apiVersion() {
return this.apiVersion;
}
- /** Gets or sets the preferred language for the response. */
+ /** The preferred language for the response. */
private String acceptLanguage;
/**
- * Gets Gets or sets the preferred language for the response.
+ * Gets The preferred language for the response.
*
* @return the acceptLanguage value.
*/
@@ -76,7 +76,7 @@ public String acceptLanguage() {
}
/**
- * Sets Gets or sets the preferred language for the response.
+ * Sets The preferred language for the response.
*
* @param acceptLanguage the acceptLanguage value.
* @return the service client itself
@@ -86,11 +86,11 @@ public ContainerRegistryManagementClientImpl withAcceptLanguage(String acceptLan
return this;
}
- /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */
+ /** The retry timeout in seconds for Long Running Operations. Default value is 30. */
private int longRunningOperationRetryTimeout;
/**
- * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Gets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @return the longRunningOperationRetryTimeout value.
*/
@@ -99,7 +99,7 @@ public int longRunningOperationRetryTimeout() {
}
/**
- * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
* @return the service client itself
@@ -109,11 +109,11 @@ public ContainerRegistryManagementClientImpl withLongRunningOperationRetryTimeou
return this;
}
- /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
+ /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
private boolean generateClientRequestId;
/**
- * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @return the generateClientRequestId value.
*/
@@ -122,7 +122,7 @@ public boolean generateClientRequestId() {
}
/**
- * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @param generateClientRequestId the generateClientRequestId value.
* @return the service client itself
@@ -205,6 +205,6 @@ protected void initialize() {
*/
@Override
public String userAgent() {
- return String.format("%s (%s, %s)", super.userAgent(), "ContainerRegistryManagementClient", "2017-03-01");
+ return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ContainerRegistryManagementClient", "2017-03-01");
}
}
diff --git a/containerregistry/resource-manager/v2017_06_01_preview/pom.xml b/containerregistry/resource-manager/v2017_06_01_preview/pom.xml
index 892957180a14..f96d71dc1f87 100644
--- a/containerregistry/resource-manager/v2017_06_01_preview/pom.xml
+++ b/containerregistry/resource-manager/v2017_06_01_preview/pom.xml
@@ -19,7 +19,7 @@
jar
Microsoft Azure SDK for ContainerRegistry Management
This package contains Microsoft ContainerRegistry Management SDK.
- https://github.com/Azure/azure-libraries-for-java
+ https://github.com/Azure/azure-sdk-for-java
The MIT License (MIT)
@@ -28,8 +28,8 @@
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
HEAD
diff --git a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Registry.java b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Registry.java
index f4441e03be21..e7c8c564f11d 100644
--- a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Registry.java
+++ b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Registry.java
@@ -88,26 +88,32 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup, Resource.UpdateWithTags, U
*/
interface UpdateStages {
/**
- * The stage of the registry {0} allowing to specify AdminUserEnabled.
+ * The stage of the registry update allowing to specify AdminUserEnabled.
*/
interface WithAdminUserEnabled {
/**
* Specifies adminUserEnabled.
+ * @param adminUserEnabled The value that indicates whether the admin user is enabled
+ * @return the next update stage
*/
Update withAdminUserEnabled(Boolean adminUserEnabled);
}
/**
- * The stage of the registry {0} allowing to specify Sku.
+ * The stage of the registry update allowing to specify Sku.
*/
interface WithSku {
/**
* Specifies sku.
+ * @param sku The SKU of the container registry
+ * @return the next update stage
*/
Update withSku(Sku sku);
}
/**
- * The stage of the registry {0} allowing to specify StorageAccount.
+ * The stage of the registry update allowing to specify StorageAccount.
*/
interface WithStorageAccount {
/**
* Specifies storageAccount.
+ * @param storageAccount The parameters of a storage account for the container registry. Only applicable to Basic SKU. If specified, the storage account must be in the same physical location as the container registry
+ * @return the next update stage
*/
Update withStorageAccount(StorageAccountProperties storageAccount);
}
diff --git a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Replication.java b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Replication.java
index 76c0ca4988c4..841c63bfe9db 100644
--- a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Replication.java
+++ b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Replication.java
@@ -80,6 +80,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithLocation withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -90,6 +93,8 @@ interface WithRegistry {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the resource. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithCreate withLocation(String location);
}
@@ -100,6 +105,8 @@ interface WithLocation {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -128,6 +135,8 @@ interface UpdateStages {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Webhook.java b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Webhook.java
index 45f8ff5f1a7f..03dabd9a4eeb 100644
--- a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Webhook.java
+++ b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/Webhook.java
@@ -91,6 +91,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithActions withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -101,6 +104,8 @@ interface WithRegistry {
interface WithActions {
/**
* Specifies actions.
+ * @param actions The list of actions that trigger the webhook to post notifications
+ * @return the next definition stage
*/
WithLocation withActions(List actions);
}
@@ -111,6 +116,8 @@ interface WithActions {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the webhook. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithServiceUri withLocation(String location);
}
@@ -121,6 +128,8 @@ interface WithLocation {
interface WithServiceUri {
/**
* Specifies serviceUri.
+ * @param serviceUri The service URI for the webhook to post notifications
+ * @return the next definition stage
*/
WithCreate withServiceUri(String serviceUri);
}
@@ -131,6 +140,8 @@ interface WithServiceUri {
interface WithCustomHeaders {
/**
* Specifies customHeaders.
+ * @param customHeaders Custom headers that will be added to the webhook notifications
+ * @return the next definition stage
*/
WithCreate withCustomHeaders(Map customHeaders);
}
@@ -141,6 +152,8 @@ interface WithCustomHeaders {
interface WithScope {
/**
* Specifies scope.
+ * @param scope The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events
+ * @return the next definition stage
*/
WithCreate withScope(String scope);
}
@@ -151,6 +164,8 @@ interface WithScope {
interface WithStatus {
/**
* Specifies status.
+ * @param status The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'
+ * @return the next definition stage
*/
WithCreate withStatus(WebhookStatus status);
}
@@ -161,6 +176,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags for the webhook
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -189,6 +206,8 @@ interface UpdateStages {
interface WithActions {
/**
* Specifies actions.
+ * @param actions The list of actions that trigger the webhook to post notifications
+ * @return the next update stage
*/
Update withActions(List actions);
}
@@ -199,6 +218,8 @@ interface WithActions {
interface WithCustomHeaders {
/**
* Specifies customHeaders.
+ * @param customHeaders Custom headers that will be added to the webhook notifications
+ * @return the next update stage
*/
Update withCustomHeaders(Map customHeaders);
}
@@ -209,6 +230,8 @@ interface WithCustomHeaders {
interface WithScope {
/**
* Specifies scope.
+ * @param scope The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events
+ * @return the next update stage
*/
Update withScope(String scope);
}
@@ -219,6 +242,8 @@ interface WithScope {
interface WithServiceUri {
/**
* Specifies serviceUri.
+ * @param serviceUri The service URI for the webhook to post notifications
+ * @return the next update stage
*/
Update withServiceUri(String serviceUri);
}
@@ -229,6 +254,8 @@ interface WithServiceUri {
interface WithStatus {
/**
* Specifies status.
+ * @param status The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'
+ * @return the next update stage
*/
Update withStatus(WebhookStatus status);
}
@@ -239,6 +266,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags for the webhook
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/implementation/ContainerRegistryManagementClientImpl.java b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/implementation/ContainerRegistryManagementClientImpl.java
index bbf7282c7d13..445e9b382432 100644
--- a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/implementation/ContainerRegistryManagementClientImpl.java
+++ b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/implementation/ContainerRegistryManagementClientImpl.java
@@ -63,11 +63,11 @@ public String apiVersion() {
return this.apiVersion;
}
- /** Gets or sets the preferred language for the response. */
+ /** The preferred language for the response. */
private String acceptLanguage;
/**
- * Gets Gets or sets the preferred language for the response.
+ * Gets The preferred language for the response.
*
* @return the acceptLanguage value.
*/
@@ -76,7 +76,7 @@ public String acceptLanguage() {
}
/**
- * Sets Gets or sets the preferred language for the response.
+ * Sets The preferred language for the response.
*
* @param acceptLanguage the acceptLanguage value.
* @return the service client itself
@@ -86,11 +86,11 @@ public ContainerRegistryManagementClientImpl withAcceptLanguage(String acceptLan
return this;
}
- /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */
+ /** The retry timeout in seconds for Long Running Operations. Default value is 30. */
private int longRunningOperationRetryTimeout;
/**
- * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Gets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @return the longRunningOperationRetryTimeout value.
*/
@@ -99,7 +99,7 @@ public int longRunningOperationRetryTimeout() {
}
/**
- * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
* @return the service client itself
@@ -109,11 +109,11 @@ public ContainerRegistryManagementClientImpl withLongRunningOperationRetryTimeou
return this;
}
- /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
+ /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
private boolean generateClientRequestId;
/**
- * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @return the generateClientRequestId value.
*/
@@ -122,7 +122,7 @@ public boolean generateClientRequestId() {
}
/**
- * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @param generateClientRequestId the generateClientRequestId value.
* @return the service client itself
@@ -233,6 +233,6 @@ protected void initialize() {
*/
@Override
public String userAgent() {
- return String.format("%s (%s, %s)", super.userAgent(), "ContainerRegistryManagementClient", "2017-06-01-preview");
+ return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ContainerRegistryManagementClient", "2017-06-01-preview");
}
}
diff --git a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/implementation/ReplicationImpl.java b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/implementation/ReplicationImpl.java
index 3d0a0a170ae9..f8396f0165e7 100644
--- a/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/implementation/ReplicationImpl.java
+++ b/containerregistry/resource-manager/v2017_06_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2017_06_01_preview/implementation/ReplicationImpl.java
@@ -34,7 +34,7 @@ class ReplicationImpl extends CreatableUpdatableImpljar
Microsoft Azure SDK for ContainerRegistry Management
This package contains Microsoft ContainerRegistry Management SDK.
- https://github.com/Azure/azure-libraries-for-java
+ https://github.com/Azure/azure-sdk-for-java
The MIT License (MIT)
@@ -28,8 +28,8 @@
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
HEAD
diff --git a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/ImportSource.java b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/ImportSource.java
index 81b5c0626dc3..fb6e17c1acbb 100644
--- a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/ImportSource.java
+++ b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/ImportSource.java
@@ -21,11 +21,17 @@ public class ImportSource {
private String resourceId;
/**
- * The address of the source registry.
+ * The address of the source registry (e.g. 'mcr.microsoft.com').
*/
@JsonProperty(value = "registryUri")
private String registryUri;
+ /**
+ * Credentials used when importing from a registry uri.
+ */
+ @JsonProperty(value = "credentials")
+ private ImportSourceCredentials credentials;
+
/**
* Repository name of the source image.
* Specify an image by repository ('hello-world'). This will use the
@@ -58,7 +64,7 @@ public ImportSource withResourceId(String resourceId) {
}
/**
- * Get the address of the source registry.
+ * Get the address of the source registry (e.g. 'mcr.microsoft.com').
*
* @return the registryUri value
*/
@@ -67,7 +73,7 @@ public String registryUri() {
}
/**
- * Set the address of the source registry.
+ * Set the address of the source registry (e.g. 'mcr.microsoft.com').
*
* @param registryUri the registryUri value to set
* @return the ImportSource object itself.
@@ -77,6 +83,26 @@ public ImportSource withRegistryUri(String registryUri) {
return this;
}
+ /**
+ * Get credentials used when importing from a registry uri.
+ *
+ * @return the credentials value
+ */
+ public ImportSourceCredentials credentials() {
+ return this.credentials;
+ }
+
+ /**
+ * Set credentials used when importing from a registry uri.
+ *
+ * @param credentials the credentials value to set
+ * @return the ImportSource object itself.
+ */
+ public ImportSource withCredentials(ImportSourceCredentials credentials) {
+ this.credentials = credentials;
+ return this;
+ }
+
/**
* Get repository name of the source image.
Specify an image by repository ('hello-world'). This will use the 'latest' tag.
diff --git a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/ImportSourceCredentials.java b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/ImportSourceCredentials.java
new file mode 100644
index 000000000000..5d551e0b6c65
--- /dev/null
+++ b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/ImportSourceCredentials.java
@@ -0,0 +1,69 @@
+/**
+ * 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.
+ */
+
+package com.microsoft.azure.management.containerregistry.v2017_10_01;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The ImportSourceCredentials model.
+ */
+public class ImportSourceCredentials {
+ /**
+ * The username to authenticate with the source registry.
+ */
+ @JsonProperty(value = "username")
+ private String username;
+
+ /**
+ * The password used to authenticate with the source registry.
+ */
+ @JsonProperty(value = "password", required = true)
+ private String password;
+
+ /**
+ * Get the username to authenticate with the source registry.
+ *
+ * @return the username value
+ */
+ public String username() {
+ return this.username;
+ }
+
+ /**
+ * Set the username to authenticate with the source registry.
+ *
+ * @param username the username value to set
+ * @return the ImportSourceCredentials object itself.
+ */
+ public ImportSourceCredentials withUsername(String username) {
+ this.username = username;
+ return this;
+ }
+
+ /**
+ * Get the password used to authenticate with the source registry.
+ *
+ * @return the password value
+ */
+ public String password() {
+ return this.password;
+ }
+
+ /**
+ * Set the password used to authenticate with the source registry.
+ *
+ * @param password the password value to set
+ * @return the ImportSourceCredentials object itself.
+ */
+ public ImportSourceCredentials withPassword(String password) {
+ this.password = password;
+ return this;
+ }
+
+}
diff --git a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Registry.java b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Registry.java
index f19c543d453d..566b512b6fe6 100644
--- a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Registry.java
+++ b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Registry.java
@@ -88,26 +88,32 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup, Resource.UpdateWithTags, U
*/
interface UpdateStages {
/**
- * The stage of the registry {0} allowing to specify AdminUserEnabled.
+ * The stage of the registry update allowing to specify AdminUserEnabled.
*/
interface WithAdminUserEnabled {
/**
* Specifies adminUserEnabled.
+ * @param adminUserEnabled The value that indicates whether the admin user is enabled
+ * @return the next update stage
*/
Update withAdminUserEnabled(Boolean adminUserEnabled);
}
/**
- * The stage of the registry {0} allowing to specify Sku.
+ * The stage of the registry update allowing to specify Sku.
*/
interface WithSku {
/**
* Specifies sku.
+ * @param sku The SKU of the container registry
+ * @return the next update stage
*/
Update withSku(Sku sku);
}
/**
- * The stage of the registry {0} allowing to specify StorageAccount.
+ * The stage of the registry update allowing to specify StorageAccount.
*/
interface WithStorageAccount {
/**
* Specifies storageAccount.
+ * @param storageAccount The parameters of a storage account for the container registry. Only applicable to Classic SKU. If specified, the storage account must be in the same physical location as the container registry
+ * @return the next update stage
*/
Update withStorageAccount(StorageAccountProperties storageAccount);
}
diff --git a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Replication.java b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Replication.java
index 6e1d02151b02..d376029f74ad 100644
--- a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Replication.java
+++ b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Replication.java
@@ -80,6 +80,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithLocation withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -90,6 +93,8 @@ interface WithRegistry {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the resource. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithCreate withLocation(String location);
}
@@ -100,6 +105,8 @@ interface WithLocation {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -128,6 +135,8 @@ interface UpdateStages {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Webhook.java b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Webhook.java
index 42c7e9ee21b9..cbc99881af7b 100644
--- a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Webhook.java
+++ b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/Webhook.java
@@ -91,6 +91,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithActions withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -101,6 +104,8 @@ interface WithRegistry {
interface WithActions {
/**
* Specifies actions.
+ * @param actions The list of actions that trigger the webhook to post notifications
+ * @return the next definition stage
*/
WithLocation withActions(List actions);
}
@@ -111,6 +116,8 @@ interface WithActions {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the webhook. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithServiceUri withLocation(String location);
}
@@ -121,6 +128,8 @@ interface WithLocation {
interface WithServiceUri {
/**
* Specifies serviceUri.
+ * @param serviceUri The service URI for the webhook to post notifications
+ * @return the next definition stage
*/
WithCreate withServiceUri(String serviceUri);
}
@@ -131,6 +140,8 @@ interface WithServiceUri {
interface WithCustomHeaders {
/**
* Specifies customHeaders.
+ * @param customHeaders Custom headers that will be added to the webhook notifications
+ * @return the next definition stage
*/
WithCreate withCustomHeaders(Map customHeaders);
}
@@ -141,6 +152,8 @@ interface WithCustomHeaders {
interface WithScope {
/**
* Specifies scope.
+ * @param scope The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events
+ * @return the next definition stage
*/
WithCreate withScope(String scope);
}
@@ -151,6 +164,8 @@ interface WithScope {
interface WithStatus {
/**
* Specifies status.
+ * @param status The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'
+ * @return the next definition stage
*/
WithCreate withStatus(WebhookStatus status);
}
@@ -161,6 +176,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags for the webhook
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -189,6 +206,8 @@ interface UpdateStages {
interface WithActions {
/**
* Specifies actions.
+ * @param actions The list of actions that trigger the webhook to post notifications
+ * @return the next update stage
*/
Update withActions(List actions);
}
@@ -199,6 +218,8 @@ interface WithActions {
interface WithCustomHeaders {
/**
* Specifies customHeaders.
+ * @param customHeaders Custom headers that will be added to the webhook notifications
+ * @return the next update stage
*/
Update withCustomHeaders(Map customHeaders);
}
@@ -209,6 +230,8 @@ interface WithCustomHeaders {
interface WithScope {
/**
* Specifies scope.
+ * @param scope The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events
+ * @return the next update stage
*/
Update withScope(String scope);
}
@@ -219,6 +242,8 @@ interface WithScope {
interface WithServiceUri {
/**
* Specifies serviceUri.
+ * @param serviceUri The service URI for the webhook to post notifications
+ * @return the next update stage
*/
Update withServiceUri(String serviceUri);
}
@@ -229,6 +254,8 @@ interface WithServiceUri {
interface WithStatus {
/**
* Specifies status.
+ * @param status The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'
+ * @return the next update stage
*/
Update withStatus(WebhookStatus status);
}
@@ -239,6 +266,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags for the webhook
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/implementation/ContainerRegistryManagementClientImpl.java b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/implementation/ContainerRegistryManagementClientImpl.java
index 930be445f299..d488c1880992 100644
--- a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/implementation/ContainerRegistryManagementClientImpl.java
+++ b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/implementation/ContainerRegistryManagementClientImpl.java
@@ -63,11 +63,11 @@ public String apiVersion() {
return this.apiVersion;
}
- /** Gets or sets the preferred language for the response. */
+ /** The preferred language for the response. */
private String acceptLanguage;
/**
- * Gets Gets or sets the preferred language for the response.
+ * Gets The preferred language for the response.
*
* @return the acceptLanguage value.
*/
@@ -76,7 +76,7 @@ public String acceptLanguage() {
}
/**
- * Sets Gets or sets the preferred language for the response.
+ * Sets The preferred language for the response.
*
* @param acceptLanguage the acceptLanguage value.
* @return the service client itself
@@ -86,11 +86,11 @@ public ContainerRegistryManagementClientImpl withAcceptLanguage(String acceptLan
return this;
}
- /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */
+ /** The retry timeout in seconds for Long Running Operations. Default value is 30. */
private int longRunningOperationRetryTimeout;
/**
- * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Gets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @return the longRunningOperationRetryTimeout value.
*/
@@ -99,7 +99,7 @@ public int longRunningOperationRetryTimeout() {
}
/**
- * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
* @return the service client itself
@@ -109,11 +109,11 @@ public ContainerRegistryManagementClientImpl withLongRunningOperationRetryTimeou
return this;
}
- /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
+ /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
private boolean generateClientRequestId;
/**
- * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @return the generateClientRequestId value.
*/
@@ -122,7 +122,7 @@ public boolean generateClientRequestId() {
}
/**
- * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @param generateClientRequestId the generateClientRequestId value.
* @return the service client itself
@@ -233,6 +233,6 @@ protected void initialize() {
*/
@Override
public String userAgent() {
- return String.format("%s (%s, %s)", super.userAgent(), "ContainerRegistryManagementClient", "2017-10-01");
+ return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ContainerRegistryManagementClient", "2017-10-01");
}
}
diff --git a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/implementation/ReplicationImpl.java b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/implementation/ReplicationImpl.java
index cedf4d7b570e..cc0cf024dbdf 100644
--- a/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/implementation/ReplicationImpl.java
+++ b/containerregistry/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/containerregistry/v2017_10_01/implementation/ReplicationImpl.java
@@ -34,7 +34,7 @@ class ReplicationImpl extends CreatableUpdatableImpljar
Microsoft Azure SDK for ContainerRegistry Management
This package contains Microsoft ContainerRegistry Management SDK.
- https://github.com/Azure/azure-libraries-for-java
+ https://github.com/Azure/azure-sdk-for-java
The MIT License (MIT)
@@ -28,8 +28,8 @@
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
HEAD
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Build.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Build.java
index 5fef710c8905..67ed279d95b2 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Build.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Build.java
@@ -111,12 +111,24 @@ public interface Build extends HasInner, Indexable, Refreshable {
+ interface Update extends Appliable, UpdateStages.WithIsArchiveEnabled {
}
/**
* Grouping of Build update stages.
*/
interface UpdateStages {
+ /**
+ * The stage of the build update allowing to specify IsArchiveEnabled.
+ */
+ interface WithIsArchiveEnabled {
+ /**
+ * Specifies isArchiveEnabled.
+ * @param isArchiveEnabled The value that indicates whether archiving is enabled or not
+ * @return the next update stage
+ */
+ Update withIsArchiveEnabled(Boolean isArchiveEnabled);
+ }
+
}
}
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/BuildStep.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/BuildStep.java
index 79999c2e6a48..b96d464eb9e4 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/BuildStep.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/BuildStep.java
@@ -46,7 +46,7 @@ public interface BuildStep extends HasInner, Indexable, Refresha
/**
* The entirety of the BuildStep definition.
*/
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithBuildTask, DefinitionStages.WithCreate {
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithBuildTask, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
}
/**
@@ -65,8 +65,24 @@ interface Blank extends WithBuildTask {
interface WithBuildTask {
/**
* Specifies resourceGroupName, registryName, buildTaskName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @param buildTaskName The name of the container registry build task
+ * @return the next definition stage
*/
- WithCreate withExistingBuildTask(String resourceGroupName, String registryName, String buildTaskName);
+ WithProperties withExistingBuildTask(String resourceGroupName, String registryName, String buildTaskName);
+ }
+
+ /**
+ * The stage of the buildstep definition allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties The properties of a build step
+ * @return the next definition stage
+ */
+ WithCreate withProperties(BuildStepProperties properties);
}
/**
@@ -93,6 +109,8 @@ interface UpdateStages {
interface WithProperties {
/**
* Specifies properties.
+ * @param properties The properties for updating a build step
+ * @return the next update stage
*/
Update withProperties(BuildStepPropertiesUpdateParameters properties);
}
@@ -103,6 +121,8 @@ interface WithProperties {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The ARM resource tags
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/BuildTask.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/BuildTask.java
index b97010d1a537..9634225d906f 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/BuildTask.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/BuildTask.java
@@ -107,6 +107,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithAlias withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -117,6 +120,8 @@ interface WithRegistry {
interface WithAlias {
/**
* Specifies alias.
+ * @param alias The alternative updatable name for a build task
+ * @return the next definition stage
*/
WithLocation withAlias(String alias);
}
@@ -127,6 +132,8 @@ interface WithAlias {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the resource. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithPlatform withLocation(String location);
}
@@ -137,6 +144,8 @@ interface WithLocation {
interface WithPlatform {
/**
* Specifies platform.
+ * @param platform The platform properties against which the build has to happen
+ * @return the next definition stage
*/
WithSourceRepository withPlatform(PlatformProperties platform);
}
@@ -147,6 +156,8 @@ interface WithPlatform {
interface WithSourceRepository {
/**
* Specifies sourceRepository.
+ * @param sourceRepository The properties that describes the source(code) for the build task
+ * @return the next definition stage
*/
WithCreate withSourceRepository(SourceRepositoryPropertiesInner sourceRepository);
}
@@ -157,6 +168,8 @@ interface WithSourceRepository {
interface WithStatus {
/**
* Specifies status.
+ * @param status The current status of build task. Possible values include: 'Disabled', 'Enabled'
+ * @return the next definition stage
*/
WithCreate withStatus(BuildTaskStatus status);
}
@@ -167,6 +180,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -177,6 +192,8 @@ interface WithTags {
interface WithTimeout {
/**
* Specifies timeout.
+ * @param timeout Build timeout in seconds
+ * @return the next definition stage
*/
WithCreate withTimeout(Integer timeout);
}
@@ -205,6 +222,8 @@ interface UpdateStages {
interface WithAlias {
/**
* Specifies alias.
+ * @param alias The alternative updatable name for a build task
+ * @return the next update stage
*/
Update withAlias(String alias);
}
@@ -215,6 +234,8 @@ interface WithAlias {
interface WithPlatform {
/**
* Specifies platform.
+ * @param platform The platform properties against which the build has to happen
+ * @return the next update stage
*/
Update withPlatform(PlatformProperties platform);
}
@@ -225,6 +246,8 @@ interface WithPlatform {
interface WithSourceRepository {
/**
* Specifies sourceRepository.
+ * @param sourceRepository The properties that describes the source(code) for the build task
+ * @return the next update stage
*/
Update withSourceRepository(SourceRepositoryUpdateParameters sourceRepository);
}
@@ -235,6 +258,8 @@ interface WithSourceRepository {
interface WithStatus {
/**
* Specifies status.
+ * @param status The current status of build task. Possible values include: 'Disabled', 'Enabled'
+ * @return the next update stage
*/
Update withStatus(BuildTaskStatus status);
}
@@ -245,6 +270,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The ARM resource tags
+ * @return the next update stage
*/
Update withTags(Map tags);
}
@@ -255,6 +282,8 @@ interface WithTags {
interface WithTimeout {
/**
* Specifies timeout.
+ * @param timeout Build timeout in seconds
+ * @return the next update stage
*/
Update withTimeout(Integer timeout);
}
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/ImportSource.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/ImportSource.java
index 5376d6b36bc6..62c4bb669a82 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/ImportSource.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/ImportSource.java
@@ -21,11 +21,17 @@ public class ImportSource {
private String resourceId;
/**
- * The address of the source registry.
+ * The address of the source registry (e.g. 'mcr.microsoft.com').
*/
@JsonProperty(value = "registryUri")
private String registryUri;
+ /**
+ * Credentials used when importing from a registry uri.
+ */
+ @JsonProperty(value = "credentials")
+ private ImportSourceCredentials credentials;
+
/**
* Repository name of the source image.
* Specify an image by repository ('hello-world'). This will use the
@@ -58,7 +64,7 @@ public ImportSource withResourceId(String resourceId) {
}
/**
- * Get the address of the source registry.
+ * Get the address of the source registry (e.g. 'mcr.microsoft.com').
*
* @return the registryUri value
*/
@@ -67,7 +73,7 @@ public String registryUri() {
}
/**
- * Set the address of the source registry.
+ * Set the address of the source registry (e.g. 'mcr.microsoft.com').
*
* @param registryUri the registryUri value to set
* @return the ImportSource object itself.
@@ -77,6 +83,26 @@ public ImportSource withRegistryUri(String registryUri) {
return this;
}
+ /**
+ * Get credentials used when importing from a registry uri.
+ *
+ * @return the credentials value
+ */
+ public ImportSourceCredentials credentials() {
+ return this.credentials;
+ }
+
+ /**
+ * Set credentials used when importing from a registry uri.
+ *
+ * @param credentials the credentials value to set
+ * @return the ImportSource object itself.
+ */
+ public ImportSource withCredentials(ImportSourceCredentials credentials) {
+ this.credentials = credentials;
+ return this;
+ }
+
/**
* Get repository name of the source image.
Specify an image by repository ('hello-world'). This will use the 'latest' tag.
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/ImportSourceCredentials.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/ImportSourceCredentials.java
new file mode 100644
index 000000000000..9f641ddcfe3a
--- /dev/null
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/ImportSourceCredentials.java
@@ -0,0 +1,69 @@
+/**
+ * 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.
+ */
+
+package com.microsoft.azure.management.containerregistry.v2018_02_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The ImportSourceCredentials model.
+ */
+public class ImportSourceCredentials {
+ /**
+ * The username to authenticate with the source registry.
+ */
+ @JsonProperty(value = "username")
+ private String username;
+
+ /**
+ * The password used to authenticate with the source registry.
+ */
+ @JsonProperty(value = "password", required = true)
+ private String password;
+
+ /**
+ * Get the username to authenticate with the source registry.
+ *
+ * @return the username value
+ */
+ public String username() {
+ return this.username;
+ }
+
+ /**
+ * Set the username to authenticate with the source registry.
+ *
+ * @param username the username value to set
+ * @return the ImportSourceCredentials object itself.
+ */
+ public ImportSourceCredentials withUsername(String username) {
+ this.username = username;
+ return this;
+ }
+
+ /**
+ * Get the password used to authenticate with the source registry.
+ *
+ * @return the password value
+ */
+ public String password() {
+ return this.password;
+ }
+
+ /**
+ * Set the password used to authenticate with the source registry.
+ *
+ * @param password the password value to set
+ * @return the ImportSourceCredentials object itself.
+ */
+ public ImportSourceCredentials withPassword(String password) {
+ this.password = password;
+ return this;
+ }
+
+}
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Registry.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Registry.java
index c4961e7c7c79..11f8f5fa56c3 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Registry.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Registry.java
@@ -88,26 +88,32 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup, Resource.UpdateWithTags, U
*/
interface UpdateStages {
/**
- * The stage of the registry {0} allowing to specify AdminUserEnabled.
+ * The stage of the registry update allowing to specify AdminUserEnabled.
*/
interface WithAdminUserEnabled {
/**
* Specifies adminUserEnabled.
+ * @param adminUserEnabled The value that indicates whether the admin user is enabled
+ * @return the next update stage
*/
Update withAdminUserEnabled(Boolean adminUserEnabled);
}
/**
- * The stage of the registry {0} allowing to specify Sku.
+ * The stage of the registry update allowing to specify Sku.
*/
interface WithSku {
/**
* Specifies sku.
+ * @param sku The SKU of the container registry
+ * @return the next update stage
*/
Update withSku(Sku sku);
}
/**
- * The stage of the registry {0} allowing to specify StorageAccount.
+ * The stage of the registry update allowing to specify StorageAccount.
*/
interface WithStorageAccount {
/**
* Specifies storageAccount.
+ * @param storageAccount The parameters of a storage account for the container registry. Only applicable to Classic SKU. If specified, the storage account must be in the same physical location as the container registry
+ * @return the next update stage
*/
Update withStorageAccount(StorageAccountProperties storageAccount);
}
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Replication.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Replication.java
index 5d9075e86246..3fef29f0db40 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Replication.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Replication.java
@@ -80,6 +80,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithLocation withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -90,6 +93,8 @@ interface WithRegistry {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the resource. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithCreate withLocation(String location);
}
@@ -100,6 +105,8 @@ interface WithLocation {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -128,6 +135,8 @@ interface UpdateStages {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Webhook.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Webhook.java
index 968ce745f5fa..e95c4fb71073 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Webhook.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/Webhook.java
@@ -91,6 +91,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithActions withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -101,6 +104,8 @@ interface WithRegistry {
interface WithActions {
/**
* Specifies actions.
+ * @param actions The list of actions that trigger the webhook to post notifications
+ * @return the next definition stage
*/
WithLocation withActions(List actions);
}
@@ -111,6 +116,8 @@ interface WithActions {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the webhook. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithServiceUri withLocation(String location);
}
@@ -121,6 +128,8 @@ interface WithLocation {
interface WithServiceUri {
/**
* Specifies serviceUri.
+ * @param serviceUri The service URI for the webhook to post notifications
+ * @return the next definition stage
*/
WithCreate withServiceUri(String serviceUri);
}
@@ -131,6 +140,8 @@ interface WithServiceUri {
interface WithCustomHeaders {
/**
* Specifies customHeaders.
+ * @param customHeaders Custom headers that will be added to the webhook notifications
+ * @return the next definition stage
*/
WithCreate withCustomHeaders(Map customHeaders);
}
@@ -141,6 +152,8 @@ interface WithCustomHeaders {
interface WithScope {
/**
* Specifies scope.
+ * @param scope The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events
+ * @return the next definition stage
*/
WithCreate withScope(String scope);
}
@@ -151,6 +164,8 @@ interface WithScope {
interface WithStatus {
/**
* Specifies status.
+ * @param status The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'
+ * @return the next definition stage
*/
WithCreate withStatus(WebhookStatus status);
}
@@ -161,6 +176,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags for the webhook
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -189,6 +206,8 @@ interface UpdateStages {
interface WithActions {
/**
* Specifies actions.
+ * @param actions The list of actions that trigger the webhook to post notifications
+ * @return the next update stage
*/
Update withActions(List actions);
}
@@ -199,6 +218,8 @@ interface WithActions {
interface WithCustomHeaders {
/**
* Specifies customHeaders.
+ * @param customHeaders Custom headers that will be added to the webhook notifications
+ * @return the next update stage
*/
Update withCustomHeaders(Map customHeaders);
}
@@ -209,6 +230,8 @@ interface WithCustomHeaders {
interface WithScope {
/**
* Specifies scope.
+ * @param scope The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events
+ * @return the next update stage
*/
Update withScope(String scope);
}
@@ -219,6 +242,8 @@ interface WithScope {
interface WithServiceUri {
/**
* Specifies serviceUri.
+ * @param serviceUri The service URI for the webhook to post notifications
+ * @return the next update stage
*/
Update withServiceUri(String serviceUri);
}
@@ -229,6 +254,8 @@ interface WithServiceUri {
interface WithStatus {
/**
* Specifies status.
+ * @param status The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'
+ * @return the next update stage
*/
Update withStatus(WebhookStatus status);
}
@@ -239,6 +266,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags for the webhook
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildImpl.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildImpl.java
index b3039c9dab97..1b8c7e7c0286 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildImpl.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildImpl.java
@@ -26,6 +26,7 @@ class BuildImpl extends CreatableUpdatableImpl imp
private String resourceGroupName;
private String registryName;
private String buildId;
+ private Boolean uisArchiveEnabled;
BuildImpl(String name, ContainerRegistryManager manager) {
super(name, new BuildInner());
@@ -40,7 +41,7 @@ class BuildImpl extends CreatableUpdatableImpl imp
this.manager = manager;
// Set resource name
this.buildId = inner.name();
- // resource ancestor names
+ // set resource ancestor and positional variables
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
this.registryName = IdParsingUtils.getValueFromIdByName(inner.id(), "registries");
this.buildId = IdParsingUtils.getValueFromIdByName(inner.id(), "builds");
@@ -61,7 +62,7 @@ public Observable createResourceAsync() {
@Override
public Observable updateResourceAsync() {
BuildsInner client = this.manager().inner().builds();
- return client.updateAsync(this.resourceGroupName, this.registryName, this.buildId)
+ return client.updateAsync(this.resourceGroupName, this.registryName, this.buildId, this.uisArchiveEnabled)
.map(innerToFluentMap(this));
}
@@ -162,4 +163,10 @@ public String type() {
return this.inner().type();
}
+ @Override
+ public BuildImpl withIsArchiveEnabled(Boolean isArchiveEnabled) {
+ this.uisArchiveEnabled = isArchiveEnabled;
+ return this;
+ }
+
}
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildStepImpl.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildStepImpl.java
index 3a61da11e9c2..a32552a183e2 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildStepImpl.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildStepImpl.java
@@ -23,6 +23,7 @@ class BuildStepImpl extends CreatableUpdatableImpl createResourceAsync() {
BuildStepsInner client = this.manager().inner().buildSteps();
- return client.createAsync(this.resourceGroupName, this.registryName, this.buildTaskName, this.stepName)
+ return client.createAsync(this.resourceGroupName, this.registryName, this.buildTaskName, this.stepName, this.cproperties)
.map(new Func1() {
@Override
public BuildStepInner call(BuildStepInner resource) {
@@ -93,6 +96,7 @@ public boolean isInCreateMode() {
}
private void resetCreateUpdateParameters() {
+ this.cproperties = new BuildStepProperties();
this.updateParameter = new BuildStepUpdateParameters();
}
@@ -124,6 +128,12 @@ public BuildStepImpl withExistingBuildTask(String resourceGroupName, String regi
return this;
}
+ @Override
+ public BuildStepImpl withProperties(BuildStepProperties properties) {
+ this.cproperties = properties;
+ return this;
+ }
+
@Override
public BuildStepImpl withProperties(BuildStepPropertiesUpdateParameters properties) {
this.updateParameter.withProperties(properties);
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildTaskImpl.java b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildTaskImpl.java
index 8e19a4a27b63..5cd67dbd5cd3 100644
--- a/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildTaskImpl.java
+++ b/containerregistry/resource-manager/v2018_02_01_preview/src/main/java/com/microsoft/azure/management/containerregistry/v2018_02_01_preview/implementation/BuildTaskImpl.java
@@ -42,7 +42,7 @@ class BuildTaskImpl extends CreatableUpdatableImpljar
Microsoft Azure SDK for ContainerRegistry Management
This package contains Microsoft ContainerRegistry Management SDK.
- https://github.com/Azure/azure-libraries-for-java
+ https://github.com/Azure/azure-sdk-for-java
The MIT License (MIT)
@@ -28,8 +28,8 @@
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
HEAD
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/ImportSource.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/ImportSource.java
index ad69fe0e1df0..8d9f89c45665 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/ImportSource.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/ImportSource.java
@@ -21,11 +21,17 @@ public class ImportSource {
private String resourceId;
/**
- * The address of the source registry.
+ * The address of the source registry (e.g. 'mcr.microsoft.com').
*/
@JsonProperty(value = "registryUri")
private String registryUri;
+ /**
+ * Credentials used when importing from a registry uri.
+ */
+ @JsonProperty(value = "credentials")
+ private ImportSourceCredentials credentials;
+
/**
* Repository name of the source image.
* Specify an image by repository ('hello-world'). This will use the
@@ -58,7 +64,7 @@ public ImportSource withResourceId(String resourceId) {
}
/**
- * Get the address of the source registry.
+ * Get the address of the source registry (e.g. 'mcr.microsoft.com').
*
* @return the registryUri value
*/
@@ -67,7 +73,7 @@ public String registryUri() {
}
/**
- * Set the address of the source registry.
+ * Set the address of the source registry (e.g. 'mcr.microsoft.com').
*
* @param registryUri the registryUri value to set
* @return the ImportSource object itself.
@@ -77,6 +83,26 @@ public ImportSource withRegistryUri(String registryUri) {
return this;
}
+ /**
+ * Get credentials used when importing from a registry uri.
+ *
+ * @return the credentials value
+ */
+ public ImportSourceCredentials credentials() {
+ return this.credentials;
+ }
+
+ /**
+ * Set credentials used when importing from a registry uri.
+ *
+ * @param credentials the credentials value to set
+ * @return the ImportSource object itself.
+ */
+ public ImportSource withCredentials(ImportSourceCredentials credentials) {
+ this.credentials = credentials;
+ return this;
+ }
+
/**
* Get repository name of the source image.
Specify an image by repository ('hello-world'). This will use the 'latest' tag.
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/ImportSourceCredentials.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/ImportSourceCredentials.java
new file mode 100644
index 000000000000..86b39d6e50a9
--- /dev/null
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/ImportSourceCredentials.java
@@ -0,0 +1,69 @@
+/**
+ * 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.
+ */
+
+package com.microsoft.azure.management.containerregistry.v2018_09_01;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The ImportSourceCredentials model.
+ */
+public class ImportSourceCredentials {
+ /**
+ * The username to authenticate with the source registry.
+ */
+ @JsonProperty(value = "username")
+ private String username;
+
+ /**
+ * The password used to authenticate with the source registry.
+ */
+ @JsonProperty(value = "password", required = true)
+ private String password;
+
+ /**
+ * Get the username to authenticate with the source registry.
+ *
+ * @return the username value
+ */
+ public String username() {
+ return this.username;
+ }
+
+ /**
+ * Set the username to authenticate with the source registry.
+ *
+ * @param username the username value to set
+ * @return the ImportSourceCredentials object itself.
+ */
+ public ImportSourceCredentials withUsername(String username) {
+ this.username = username;
+ return this;
+ }
+
+ /**
+ * Get the password used to authenticate with the source registry.
+ *
+ * @return the password value
+ */
+ public String password() {
+ return this.password;
+ }
+
+ /**
+ * Set the password used to authenticate with the source registry.
+ *
+ * @param password the password value to set
+ * @return the ImportSourceCredentials object itself.
+ */
+ public ImportSourceCredentials withPassword(String password) {
+ this.password = password;
+ return this;
+ }
+
+}
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Registry.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Registry.java
index 7ca2a31d51f4..b0e249cf5ddf 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Registry.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Registry.java
@@ -88,26 +88,32 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup, Resource.UpdateWithTags, U
*/
interface UpdateStages {
/**
- * The stage of the registry {0} allowing to specify AdminUserEnabled.
+ * The stage of the registry update allowing to specify AdminUserEnabled.
*/
interface WithAdminUserEnabled {
/**
* Specifies adminUserEnabled.
+ * @param adminUserEnabled The value that indicates whether the admin user is enabled
+ * @return the next update stage
*/
Update withAdminUserEnabled(Boolean adminUserEnabled);
}
/**
- * The stage of the registry {0} allowing to specify Sku.
+ * The stage of the registry update allowing to specify Sku.
*/
interface WithSku {
/**
* Specifies sku.
+ * @param sku The SKU of the container registry
+ * @return the next update stage
*/
Update withSku(Sku sku);
}
/**
- * The stage of the registry {0} allowing to specify StorageAccount.
+ * The stage of the registry update allowing to specify StorageAccount.
*/
interface WithStorageAccount {
/**
* Specifies storageAccount.
+ * @param storageAccount The parameters of a storage account for the container registry. Only applicable to Classic SKU. If specified, the storage account must be in the same physical location as the container registry
+ * @return the next update stage
*/
Update withStorageAccount(StorageAccountProperties storageAccount);
}
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Replication.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Replication.java
index ab44fef741d3..e54c48342e33 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Replication.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Replication.java
@@ -80,6 +80,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithLocation withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -90,6 +93,8 @@ interface WithRegistry {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the resource. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithCreate withLocation(String location);
}
@@ -100,6 +105,8 @@ interface WithLocation {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -128,6 +135,8 @@ interface UpdateStages {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Run.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Run.java
index 6808736d8629..636c2fa24826 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Run.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Run.java
@@ -116,12 +116,24 @@ public interface Run extends HasInner, Indexable, Refreshable, Up
/**
* The template for a Run update operation, containing all the settings that can be modified.
*/
- interface Update extends Appliable {
+ interface Update extends Appliable, UpdateStages.WithIsArchiveEnabled {
}
/**
* Grouping of Run update stages.
*/
interface UpdateStages {
+ /**
+ * The stage of the run update allowing to specify IsArchiveEnabled.
+ */
+ interface WithIsArchiveEnabled {
+ /**
+ * Specifies isArchiveEnabled.
+ * @param isArchiveEnabled The value that indicates whether archiving is enabled or not
+ * @return the next update stage
+ */
+ Update withIsArchiveEnabled(Boolean isArchiveEnabled);
+ }
+
}
}
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Task.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Task.java
index 4c1ba3dadfc5..eba8d044c158 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Task.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Task.java
@@ -111,6 +111,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithLocation withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -121,6 +124,8 @@ interface WithRegistry {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the resource. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithPlatform withLocation(String location);
}
@@ -131,6 +136,8 @@ interface WithLocation {
interface WithPlatform {
/**
* Specifies platform.
+ * @param platform The platform properties against which the run has to happen
+ * @return the next definition stage
*/
WithStep withPlatform(PlatformProperties platform);
}
@@ -141,6 +148,8 @@ interface WithPlatform {
interface WithStep {
/**
* Specifies step.
+ * @param step The properties of a task step
+ * @return the next definition stage
*/
WithCreate withStep(TaskStepProperties step);
}
@@ -151,6 +160,8 @@ interface WithStep {
interface WithAgentConfiguration {
/**
* Specifies agentConfiguration.
+ * @param agentConfiguration The machine configuration of the run agent
+ * @return the next definition stage
*/
WithCreate withAgentConfiguration(AgentProperties agentConfiguration);
}
@@ -161,6 +172,8 @@ interface WithAgentConfiguration {
interface WithStatus {
/**
* Specifies status.
+ * @param status The current status of task. Possible values include: 'Disabled', 'Enabled'
+ * @return the next definition stage
*/
WithCreate withStatus(TaskStatus status);
}
@@ -171,6 +184,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags of the resource
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -181,6 +196,8 @@ interface WithTags {
interface WithTimeout {
/**
* Specifies timeout.
+ * @param timeout Run timeout in seconds
+ * @return the next definition stage
*/
WithCreate withTimeout(Integer timeout);
}
@@ -191,6 +208,8 @@ interface WithTimeout {
interface WithTrigger {
/**
* Specifies trigger.
+ * @param trigger The properties that describe all triggers for the task
+ * @return the next definition stage
*/
WithCreate withTrigger(TriggerProperties trigger);
}
@@ -219,6 +238,8 @@ interface UpdateStages {
interface WithAgentConfiguration {
/**
* Specifies agentConfiguration.
+ * @param agentConfiguration The machine configuration of the run agent
+ * @return the next update stage
*/
Update withAgentConfiguration(AgentProperties agentConfiguration);
}
@@ -229,6 +250,8 @@ interface WithAgentConfiguration {
interface WithPlatform {
/**
* Specifies platform.
+ * @param platform The platform properties against which the run has to happen
+ * @return the next update stage
*/
Update withPlatform(PlatformUpdateParameters platform);
}
@@ -239,6 +262,8 @@ interface WithPlatform {
interface WithStatus {
/**
* Specifies status.
+ * @param status The current status of task. Possible values include: 'Disabled', 'Enabled'
+ * @return the next update stage
*/
Update withStatus(TaskStatus status);
}
@@ -249,6 +274,8 @@ interface WithStatus {
interface WithStep {
/**
* Specifies step.
+ * @param step The properties for updating a task step
+ * @return the next update stage
*/
Update withStep(TaskStepUpdateParameters step);
}
@@ -259,6 +286,8 @@ interface WithStep {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The ARM resource tags
+ * @return the next update stage
*/
Update withTags(Map tags);
}
@@ -269,6 +298,8 @@ interface WithTags {
interface WithTimeout {
/**
* Specifies timeout.
+ * @param timeout Run timeout in seconds
+ * @return the next update stage
*/
Update withTimeout(Integer timeout);
}
@@ -279,6 +310,8 @@ interface WithTimeout {
interface WithTrigger {
/**
* Specifies trigger.
+ * @param trigger The properties for updating trigger properties
+ * @return the next update stage
*/
Update withTrigger(TriggerUpdateParameters trigger);
}
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Webhook.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Webhook.java
index 760b3c079927..1fdbc44c4536 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Webhook.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Webhook.java
@@ -91,6 +91,9 @@ interface Blank extends WithRegistry {
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
+ * @param resourceGroupName The name of the resource group to which the container registry belongs
+ * @param registryName The name of the container registry
+ * @return the next definition stage
*/
WithActions withExistingRegistry(String resourceGroupName, String registryName);
}
@@ -101,6 +104,8 @@ interface WithRegistry {
interface WithActions {
/**
* Specifies actions.
+ * @param actions The list of actions that trigger the webhook to post notifications
+ * @return the next definition stage
*/
WithLocation withActions(List actions);
}
@@ -111,6 +116,8 @@ interface WithActions {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the webhook. This cannot be changed after the resource is created
+ * @return the next definition stage
*/
WithServiceUri withLocation(String location);
}
@@ -121,6 +128,8 @@ interface WithLocation {
interface WithServiceUri {
/**
* Specifies serviceUri.
+ * @param serviceUri The service URI for the webhook to post notifications
+ * @return the next definition stage
*/
WithCreate withServiceUri(String serviceUri);
}
@@ -131,6 +140,8 @@ interface WithServiceUri {
interface WithCustomHeaders {
/**
* Specifies customHeaders.
+ * @param customHeaders Custom headers that will be added to the webhook notifications
+ * @return the next definition stage
*/
WithCreate withCustomHeaders(Map customHeaders);
}
@@ -141,6 +152,8 @@ interface WithCustomHeaders {
interface WithScope {
/**
* Specifies scope.
+ * @param scope The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events
+ * @return the next definition stage
*/
WithCreate withScope(String scope);
}
@@ -151,6 +164,8 @@ interface WithScope {
interface WithStatus {
/**
* Specifies status.
+ * @param status The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'
+ * @return the next definition stage
*/
WithCreate withStatus(WebhookStatus status);
}
@@ -161,6 +176,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags for the webhook
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -189,6 +206,8 @@ interface UpdateStages {
interface WithActions {
/**
* Specifies actions.
+ * @param actions The list of actions that trigger the webhook to post notifications
+ * @return the next update stage
*/
Update withActions(List actions);
}
@@ -199,6 +218,8 @@ interface WithActions {
interface WithCustomHeaders {
/**
* Specifies customHeaders.
+ * @param customHeaders Custom headers that will be added to the webhook notifications
+ * @return the next update stage
*/
Update withCustomHeaders(Map customHeaders);
}
@@ -209,6 +230,8 @@ interface WithCustomHeaders {
interface WithScope {
/**
* Specifies scope.
+ * @param scope The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events
+ * @return the next update stage
*/
Update withScope(String scope);
}
@@ -219,6 +242,8 @@ interface WithScope {
interface WithServiceUri {
/**
* Specifies serviceUri.
+ * @param serviceUri The service URI for the webhook to post notifications
+ * @return the next update stage
*/
Update withServiceUri(String serviceUri);
}
@@ -229,6 +254,8 @@ interface WithServiceUri {
interface WithStatus {
/**
* Specifies status.
+ * @param status The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'
+ * @return the next update stage
*/
Update withStatus(WebhookStatus status);
}
@@ -239,6 +266,8 @@ interface WithStatus {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags for the webhook
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/ContainerRegistryManagementClientImpl.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/ContainerRegistryManagementClientImpl.java
index 3d80e8651562..6346db47ecd2 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/ContainerRegistryManagementClientImpl.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/ContainerRegistryManagementClientImpl.java
@@ -51,11 +51,11 @@ public ContainerRegistryManagementClientImpl withSubscriptionId(String subscript
return this;
}
- /** Gets or sets the preferred language for the response. */
+ /** The preferred language for the response. */
private String acceptLanguage;
/**
- * Gets Gets or sets the preferred language for the response.
+ * Gets The preferred language for the response.
*
* @return the acceptLanguage value.
*/
@@ -64,7 +64,7 @@ public String acceptLanguage() {
}
/**
- * Sets Gets or sets the preferred language for the response.
+ * Sets The preferred language for the response.
*
* @param acceptLanguage the acceptLanguage value.
* @return the service client itself
@@ -74,11 +74,11 @@ public ContainerRegistryManagementClientImpl withAcceptLanguage(String acceptLan
return this;
}
- /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */
+ /** The retry timeout in seconds for Long Running Operations. Default value is 30. */
private int longRunningOperationRetryTimeout;
/**
- * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Gets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @return the longRunningOperationRetryTimeout value.
*/
@@ -87,7 +87,7 @@ public int longRunningOperationRetryTimeout() {
}
/**
- * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
* @return the service client itself
@@ -97,11 +97,11 @@ public ContainerRegistryManagementClientImpl withLongRunningOperationRetryTimeou
return this;
}
- /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
+ /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
private boolean generateClientRequestId;
/**
- * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @return the generateClientRequestId value.
*/
@@ -110,7 +110,7 @@ public boolean generateClientRequestId() {
}
/**
- * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @param generateClientRequestId the generateClientRequestId value.
* @return the service client itself
@@ -248,6 +248,6 @@ protected void initialize() {
*/
@Override
public String userAgent() {
- return String.format("%s (%s)", super.userAgent(), "ContainerRegistryManagementClient");
+ return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ContainerRegistryManagementClient", "2018-09-01");
}
}
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/ReplicationImpl.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/ReplicationImpl.java
index 341456abf5ef..a3d3304eb892 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/ReplicationImpl.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/ReplicationImpl.java
@@ -34,7 +34,7 @@ class ReplicationImpl extends CreatableUpdatableImpl implements
private String resourceGroupName;
private String registryName;
private String runId;
+ private Boolean uisArchiveEnabled;
RunImpl(String name, ContainerRegistryManager manager) {
super(name, new RunInner());
@@ -41,7 +42,7 @@ class RunImpl extends CreatableUpdatableImpl implements
this.manager = manager;
// Set resource name
this.runId = inner.name();
- // resource ancestor names
+ // set resource ancestor and positional variables
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
this.registryName = IdParsingUtils.getValueFromIdByName(inner.id(), "registries");
this.runId = IdParsingUtils.getValueFromIdByName(inner.id(), "runs");
@@ -62,7 +63,7 @@ public Observable createResourceAsync() {
@Override
public Observable updateResourceAsync() {
RunsInner client = this.manager().inner().runs();
- return client.updateAsync(this.resourceGroupName, this.registryName, this.runId)
+ return client.updateAsync(this.resourceGroupName, this.registryName, this.runId, this.uisArchiveEnabled)
.map(innerToFluentMap(this));
}
@@ -168,4 +169,10 @@ public String type() {
return this.inner().type();
}
+ @Override
+ public RunImpl withIsArchiveEnabled(Boolean isArchiveEnabled) {
+ this.uisArchiveEnabled = isArchiveEnabled;
+ return this;
+ }
+
}
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/TaskImpl.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/TaskImpl.java
index 6c16f17adf61..8be39a27a7ad 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/TaskImpl.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/TaskImpl.java
@@ -46,7 +46,7 @@ class TaskImpl extends CreatableUpdatableImpl impleme
this.manager = manager;
// Set resource name
this.taskName = inner.name();
- // resource ancestor names
+ // set resource ancestor and positional variables
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
this.registryName = IdParsingUtils.getValueFromIdByName(inner.id(), "registries");
this.taskName = IdParsingUtils.getValueFromIdByName(inner.id(), "tasks");
diff --git a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/WebhookImpl.java b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/WebhookImpl.java
index 9e86fc6e0fc7..051e8959a9e7 100644
--- a/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/WebhookImpl.java
+++ b/containerregistry/resource-manager/v2018_09_01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/implementation/WebhookImpl.java
@@ -43,7 +43,7 @@ class WebhookImpl extends CreatableUpdatableImpl