From 495c3fb22caf65bad064885c4ded038beca1b8f6 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 18 Jun 2020 00:32:26 +0000 Subject: [PATCH] Generated from 26e10fdf6dd53c10883de3fa638d82e833ef1143 updated readme files --- .../mgmt-v2017_10_01_preview/pom.xml | 12 +++-- .../v2017_10_01_preview/ContainerGroup.java | 48 +++++++++++++++---- ...ContainerInstanceManagementClientImpl.java | 20 ++++---- 3 files changed, 55 insertions(+), 25 deletions(-) diff --git a/sdk/containerinstance/mgmt-v2017_10_01_preview/pom.xml b/sdk/containerinstance/mgmt-v2017_10_01_preview/pom.xml index 487771f997e62..f03b76afb4d1d 100644 --- a/sdk/containerinstance/mgmt-v2017_10_01_preview/pom.xml +++ b/sdk/containerinstance/mgmt-v2017_10_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_10_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_10_01_preview/ContainerGroup.java b/sdk/containerinstance/mgmt-v2017_10_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_10_01_preview/ContainerGroup.java index 93ac80d140e2f..b6e49130641a1 100644 --- a/sdk/containerinstance/mgmt-v2017_10_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_10_01_preview/ContainerGroup.java +++ b/sdk/containerinstance/mgmt-v2017_10_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_10_01_preview/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); } @@ -166,41 +182,53 @@ 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. + - `Always` Always restart + - `OnFailure` Restart on failure + - `Never` Never restart + . Possible values include: 'Always', 'OnFailure', 'Never' + * @return the next update stage */ Update withRestartPolicy(ContainerGroupRestartPolicy 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_10_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_10_01_preview/implementation/ContainerInstanceManagementClientImpl.java b/sdk/containerinstance/mgmt-v2017_10_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_10_01_preview/implementation/ContainerInstanceManagementClientImpl.java index c0b017d9437ef..2a180aa2a3244 100644 --- a/sdk/containerinstance/mgmt-v2017_10_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_10_01_preview/implementation/ContainerInstanceManagementClientImpl.java +++ b/sdk/containerinstance/mgmt-v2017_10_01_preview/src/main/java/com/microsoft/azure/management/containerinstance/v2017_10_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 @@ -219,6 +219,6 @@ protected void initialize() { */ @Override public String userAgent() { - return String.format("%s (%s, %s)", super.userAgent(), "ContainerInstanceManagementClient", "2017-10-01-preview"); + return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ContainerInstanceManagementClient", "2017-10-01-preview"); } }