diff --git a/sdk/containerinstance/mgmt-v2018_04_01/pom.xml b/sdk/containerinstance/mgmt-v2018_04_01/pom.xml index 0499db4225aab..8fdab70f5fc82 100644 --- a/sdk/containerinstance/mgmt-v2018_04_01/pom.xml +++ b/sdk/containerinstance/mgmt-v2018_04_01/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-v2018_04_01/src/main/java/com/microsoft/azure/management/containerinstance/v2018_04_01/ContainerGroup.java b/sdk/containerinstance/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/containerinstance/v2018_04_01/ContainerGroup.java index 5ce75ed879f70..cd5d04a05b719 100644 --- a/sdk/containerinstance/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/containerinstance/v2018_04_01/ContainerGroup.java +++ b/sdk/containerinstance/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/containerinstance/v2018_04_01/ContainerGroup.java @@ -93,7 +93,9 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup containers); } @@ -103,46 +105,60 @@ 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. + - `Always` Always restart + - `OnFailure` Restart on failure + - `Never` Never restart + . Possible values include: 'Always', 'OnFailure', 'Never' + * @return the next definition stage */ WithCreate withRestartPolicy(ContainerGroupRestartPolicy 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); } diff --git a/sdk/containerinstance/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/containerinstance/v2018_04_01/implementation/ContainerInstanceManagementClientImpl.java b/sdk/containerinstance/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/containerinstance/v2018_04_01/implementation/ContainerInstanceManagementClientImpl.java index 07288168f400a..0ee3bc8a5ab7c 100644 --- a/sdk/containerinstance/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/containerinstance/v2018_04_01/implementation/ContainerInstanceManagementClientImpl.java +++ b/sdk/containerinstance/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/containerinstance/v2018_04_01/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 @@ -247,6 +247,6 @@ protected void initialize() { */ @Override public String userAgent() { - return String.format("%s (%s, %s)", super.userAgent(), "ContainerInstanceManagementClient", "2018-04-01"); + return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ContainerInstanceManagementClient", "2018-04-01"); } }