Skip to content

Commit

Permalink
Generated from 9578d36ef49d11e323741cf0784cdad772bc51fe
Browse files Browse the repository at this point in the history
[IoTCentral] Change error definition
  • Loading branch information
SDK Automation committed Feb 13, 2020
1 parent 96f5b97 commit b2e14c3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 21 deletions.
10 changes: 6 additions & 4 deletions sdk/iotcentral/mgmt-v2017_07_01_privatepreview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-iotcentral</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for IoTCentral Management</name>
<description>This package contains Microsoft IoTCentral Management SDK.</description>
<url>https://github.com/Azure/azure-libraries-for-java</url>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand All @@ -28,8 +28,8 @@
</license>
</licenses>
<scm>
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,36 +77,44 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<Wit
interface WithSku {
/**
* Specifies sku.
*/
* @param sku A valid instance SKU
* @return the next definition stage
*/
WithCreate withSku(AppSkuInfo sku);
}

/**
* The stage of the app update allowing to specify DisplayName.
* The stage of the app definition allowing to specify DisplayName.
*/
interface WithDisplayName {
/**
* Specifies displayName.
* @param displayName The display name of the application
* @return the next definition stage
*/
WithCreate withDisplayName(String displayName);
}

/**
* The stage of the app update allowing to specify Subdomain.
* The stage of the app definition allowing to specify Subdomain.
*/
interface WithSubdomain {
/**
* Specifies subdomain.
* @param subdomain The subdomain of the application
* @return the next definition stage
*/
WithCreate withSubdomain(String subdomain);
}

/**
* The stage of the app update allowing to specify Template.
* The stage of the app definition allowing to specify Template.
*/
interface WithTemplate {
/**
* Specifies template.
* @param template The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch
* @return the next definition stage
*/
WithCreate withTemplate(String template);
}
Expand All @@ -130,31 +138,37 @@ interface Update extends Appliable<App>, Resource.UpdateWithTags<Update>, Update
*/
interface UpdateStages {
/**
* The stage of the app {0} allowing to specify DisplayName.
* The stage of the app update allowing to specify DisplayName.
*/
interface WithDisplayName {
/**
* Specifies displayName.
* @param displayName The display name of the application
* @return the next update stage
*/
Update withDisplayName(String displayName);
}

/**
* The stage of the app {0} allowing to specify Subdomain.
* The stage of the app update allowing to specify Subdomain.
*/
interface WithSubdomain {
/**
* Specifies subdomain.
* @param subdomain The subdomain of the application
* @return the next update stage
*/
Update withSubdomain(String subdomain);
}

/**
* The stage of the app {0} allowing to specify Template.
* The stage of the app update allowing to specify Template.
*/
interface WithTemplate {
/**
* Specifies template.
* @param template The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch
* @return the next update stage
*/
Update withTemplate(String template);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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
Expand All @@ -86,11 +86,11 @@ public IotCentralClientImpl withAcceptLanguage(String acceptLanguage) {
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.
*/
Expand All @@ -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
Expand All @@ -109,11 +109,11 @@ public IotCentralClientImpl withLongRunningOperationRetryTimeout(int longRunning
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.
*/
Expand All @@ -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
Expand Down Expand Up @@ -205,6 +205,6 @@ protected void initialize() {
*/
@Override
public String userAgent() {
return String.format("%s (%s, %s)", super.userAgent(), "IotCentralClient", "2017-07-01-privatepreview");
return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "IotCentralClient", "2017-07-01-privatepreview");
}
}

0 comments on commit b2e14c3

Please sign in to comment.