diff --git a/sdk/containerinstance/mgmt-v2017_08_01_preview/pom.xml b/sdk/containerinstance/mgmt-v2017_08_01_preview/pom.xml
index 562d1b19856c5..0dbf7075a9f65 100644
--- a/sdk/containerinstance/mgmt-v2017_08_01_preview/pom.xml
+++ b/sdk/containerinstance/mgmt-v2017_08_01_preview/pom.xml
@@ -11,15 +11,15 @@
com.microsoft.azure
azure-arm-parent
- 1.2.0
- ../../parents/azure-arm-parent
+ 1.1.0
+ ../../../pom.management.xml
azure-mgmt-containerinstance
1.0.0-beta
jar
Microsoft Azure SDK for ContainerInstance Management
This package contains Microsoft ContainerInstance 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
@@ -71,6 +71,8 @@
azure-arm-client-runtime
test-jar
test
+
+ 1.6.5
diff --git a/sdk/containerinstance/mgmt-v2017_08_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_08_01_preview/ContainerGroup.java b/sdk/containerinstance/mgmt-v2017_08_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_08_01_preview/ContainerGroup.java
index 1bee667287392..5e9af97c1a4c0 100644
--- a/sdk/containerinstance/mgmt-v2017_08_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_08_01_preview/ContainerGroup.java
+++ b/sdk/containerinstance/mgmt-v2017_08_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_08_01_preview/ContainerGroup.java
@@ -93,7 +93,9 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup containers);
}
@@ -103,46 +105,56 @@ interface WithContainers {
interface WithOsType {
/**
* Specifies osType.
- */
+ * @param osType The operating system type required by the containers in the container group. Possible values include: 'Windows', 'Linux'
+ * @return the next definition stage
+*/
WithCreate withOsType(OperatingSystemTypes osType);
}
/**
- * The stage of the containergroup update allowing to specify ImageRegistryCredentials.
+ * The stage of the containergroup definition allowing to specify ImageRegistryCredentials.
*/
interface WithImageRegistryCredentials {
/**
* Specifies imageRegistryCredentials.
+ * @param imageRegistryCredentials The image registry credentials by which the container group is created from
+ * @return the next definition stage
*/
WithCreate withImageRegistryCredentials(List imageRegistryCredentials);
}
/**
- * The stage of the containergroup update allowing to specify IpAddress.
+ * The stage of the containergroup definition allowing to specify IpAddress.
*/
interface WithIpAddress {
/**
* Specifies ipAddress.
+ * @param ipAddress The IP address type of the container group
+ * @return the next definition stage
*/
WithCreate withIpAddress(IpAddress ipAddress);
}
/**
- * The stage of the containergroup update allowing to specify RestartPolicy.
+ * The stage of the containergroup definition allowing to specify RestartPolicy.
*/
interface WithRestartPolicy {
/**
* Specifies restartPolicy.
+ * @param restartPolicy Restart policy for all containers within the container group. Currently the only available option is `always`. Possible values include: 'always'
+ * @return the next definition stage
*/
WithCreate withRestartPolicy(ContainerRestartPolicy restartPolicy);
}
/**
- * The stage of the containergroup update allowing to specify Volumes.
+ * The stage of the containergroup definition allowing to specify Volumes.
*/
interface WithVolumes {
/**
* Specifies volumes.
+ * @param volumes The list of volumes that can be mounted by containers in this container group
+ * @return the next definition stage
*/
WithCreate withVolumes(List volumes);
}
@@ -166,41 +178,49 @@ interface Update extends Appliable, Resource.UpdateWithTags imageRegistryCredentials);
}
/**
- * The stage of the containergroup {0} allowing to specify IpAddress.
+ * The stage of the containergroup update allowing to specify IpAddress.
*/
interface WithIpAddress {
/**
* Specifies ipAddress.
+ * @param ipAddress The IP address type of the container group
+ * @return the next update stage
*/
Update withIpAddress(IpAddress ipAddress);
}
/**
- * The stage of the containergroup {0} allowing to specify RestartPolicy.
+ * The stage of the containergroup update allowing to specify RestartPolicy.
*/
interface WithRestartPolicy {
/**
* Specifies restartPolicy.
+ * @param restartPolicy Restart policy for all containers within the container group. Currently the only available option is `always`. Possible values include: 'always'
+ * @return the next update stage
*/
Update withRestartPolicy(ContainerRestartPolicy restartPolicy);
}
/**
- * The stage of the containergroup {0} allowing to specify Volumes.
+ * The stage of the containergroup update allowing to specify Volumes.
*/
interface WithVolumes {
/**
* Specifies volumes.
+ * @param volumes The list of volumes that can be mounted by containers in this container group
+ * @return the next update stage
*/
Update withVolumes(List volumes);
}
diff --git a/sdk/containerinstance/mgmt-v2017_08_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_08_01_preview/implementation/ContainerInstanceManagementClientImpl.java b/sdk/containerinstance/mgmt-v2017_08_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_08_01_preview/implementation/ContainerInstanceManagementClientImpl.java
index e5a092b1a4858..85c2b0a9c8f86 100644
--- a/sdk/containerinstance/mgmt-v2017_08_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_08_01_preview/implementation/ContainerInstanceManagementClientImpl.java
+++ b/sdk/containerinstance/mgmt-v2017_08_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_08_01_preview/implementation/ContainerInstanceManagementClientImpl.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 ContainerInstanceManagementClientImpl 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 ContainerInstanceManagementClientImpl 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(), "ContainerInstanceManagementClient", "2017-08-01-preview");
+ return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ContainerInstanceManagementClient", "2017-08-01-preview");
}
}