Skip to content

Commit 87f7704

Browse files
author
SDKAuto
committed
CodeGen from PR 11704 in Azure/azure-rest-api-specs
Merge 285800493b510bf0da60be96437040eeb566ea46 into f7fd049bbc0089ad8faa7dc1c89610ca8ad78c83
1 parent d267e4a commit 87f7704

File tree

10 files changed

+50
-47
lines changed

10 files changed

+50
-47
lines changed

sdk/compute/mgmt-v2017_09_01/pom.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.2.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-compute</artifactId>
1818
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for Compute Management</name>
2121
<description>This package contains Microsoft Compute Management SDK.</description>
22-
<url>https://github.com/Azure/azure-libraries-for-java</url>
22+
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323
<licenses>
2424
<license>
2525
<name>The MIT License (MIT)</name>
@@ -28,8 +28,8 @@
2828
</license>
2929
</licenses>
3030
<scm>
31-
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
32-
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
31+
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
32+
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
3333
<tag>HEAD</tag>
3434
</scm>
3535
<properties>
@@ -71,6 +71,8 @@
7171
<artifactId>azure-arm-client-runtime</artifactId>
7272
<type>test-jar</type>
7373
<scope>test</scope>
74+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
75+
<version>1.6.5</version>
7476
</dependency>
7577
</dependencies>
7678
<build>

sdk/compute/mgmt-v2017_09_01/src/main/java/com/microsoft/azure/management/compute/v2017_09_01/ResourceSkuCapabilities.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import com.fasterxml.jackson.annotation.JsonProperty;
1212

1313
/**
14-
* Describes The SKU capabilites object.
14+
* Describes The SKU capabilities object.
1515
*/
1616
public class ResourceSkuCapabilities {
1717
/**
@@ -27,7 +27,7 @@ public class ResourceSkuCapabilities {
2727
private String value;
2828

2929
/**
30-
* Get the name value.
30+
* Get an invariant to describe the feature.
3131
*
3232
* @return the name value
3333
*/
@@ -36,7 +36,7 @@ public String name() {
3636
}
3737

3838
/**
39-
* Get the value value.
39+
* Get an invariant if the feature is measured by quantity.
4040
*
4141
* @return the value value
4242
*/

sdk/compute/mgmt-v2017_09_01/src/main/java/com/microsoft/azure/management/compute/v2017_09_01/ResourceSkuCapacity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class ResourceSkuCapacity {
4040
private ResourceSkuCapacityScaleType scaleType;
4141

4242
/**
43-
* Get the minimum value.
43+
* Get the minimum capacity.
4444
*
4545
* @return the minimum value
4646
*/
@@ -49,7 +49,7 @@ public Long minimum() {
4949
}
5050

5151
/**
52-
* Get the maximum value.
52+
* Get the maximum capacity that can be set.
5353
*
5454
* @return the maximum value
5555
*/
@@ -58,7 +58,7 @@ public Long maximum() {
5858
}
5959

6060
/**
61-
* Get the defaultProperty value.
61+
* Get the default capacity.
6262
*
6363
* @return the defaultProperty value
6464
*/
@@ -67,7 +67,7 @@ public Long defaultProperty() {
6767
}
6868

6969
/**
70-
* Get the scaleType value.
70+
* Get the scale type applicable to the sku. Possible values include: 'Automatic', 'Manual', 'None'.
7171
*
7272
* @return the scaleType value
7373
*/

sdk/compute/mgmt-v2017_09_01/src/main/java/com/microsoft/azure/management/compute/v2017_09_01/ResourceSkuCosts.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class ResourceSkuCosts {
3333
private String extendedUnit;
3434

3535
/**
36-
* Get the meterID value.
36+
* Get used for querying price from commerce.
3737
*
3838
* @return the meterID value
3939
*/
@@ -42,7 +42,7 @@ public String meterID() {
4242
}
4343

4444
/**
45-
* Get the quantity value.
45+
* Get the multiplier is needed to extend the base metered cost.
4646
*
4747
* @return the quantity value
4848
*/
@@ -51,7 +51,7 @@ public Long quantity() {
5151
}
5252

5353
/**
54-
* Get the extendedUnit value.
54+
* Get an invariant to show the extended unit.
5555
*
5656
* @return the extendedUnit value
5757
*/

sdk/compute/mgmt-v2017_09_01/src/main/java/com/microsoft/azure/management/compute/v2017_09_01/ResourceSkuLocationInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class ResourceSkuLocationInfo {
2828
private List<String> zones;
2929

3030
/**
31-
* Get the location value.
31+
* Get location of the SKU.
3232
*
3333
* @return the location value
3434
*/
@@ -37,7 +37,7 @@ public String location() {
3737
}
3838

3939
/**
40-
* Get the zones value.
40+
* Get list of availability zones where the SKU is supported.
4141
*
4242
* @return the zones value
4343
*/

sdk/compute/mgmt-v2017_09_01/src/main/java/com/microsoft/azure/management/compute/v2017_09_01/ResourceSkuRestrictionInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class ResourceSkuRestrictionInfo {
2828
private List<String> zones;
2929

3030
/**
31-
* Get the locations value.
31+
* Get locations where the SKU is restricted.
3232
*
3333
* @return the locations value
3434
*/
@@ -37,7 +37,7 @@ public List<String> locations() {
3737
}
3838

3939
/**
40-
* Get the zones value.
40+
* Get list of availability zones where the SKU is restricted.
4141
*
4242
* @return the zones value
4343
*/

sdk/compute/mgmt-v2017_09_01/src/main/java/com/microsoft/azure/management/compute/v2017_09_01/ResourceSkuRestrictions.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class ResourceSkuRestrictions {
4242
private ResourceSkuRestrictionsReasonCode reasonCode;
4343

4444
/**
45-
* Get the type value.
45+
* Get the type of restrictions. Possible values include: 'Location', 'Zone'.
4646
*
4747
* @return the type value
4848
*/
@@ -51,7 +51,7 @@ public ResourceSkuRestrictionsType type() {
5151
}
5252

5353
/**
54-
* Get the values value.
54+
* Get the value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
5555
*
5656
* @return the values value
5757
*/
@@ -60,7 +60,7 @@ public List<String> values() {
6060
}
6161

6262
/**
63-
* Get the restrictionInfo value.
63+
* Get the information about the restriction where the SKU cannot be used.
6464
*
6565
* @return the restrictionInfo value
6666
*/
@@ -69,7 +69,7 @@ public ResourceSkuRestrictionInfo restrictionInfo() {
6969
}
7070

7171
/**
72-
* Get the reasonCode value.
72+
* Get the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'.
7373
*
7474
* @return the reasonCode value
7575
*/

sdk/compute/mgmt-v2017_09_01/src/main/java/com/microsoft/azure/management/compute/v2017_09_01/implementation/ComputeManagementClientImpl.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public String apiVersion() {
6363
return this.apiVersion;
6464
}
6565

66-
/** Gets or sets the preferred language for the response. */
66+
/** The preferred language for the response. */
6767
private String acceptLanguage;
6868

6969
/**
70-
* Gets Gets or sets the preferred language for the response.
70+
* Gets The preferred language for the response.
7171
*
7272
* @return the acceptLanguage value.
7373
*/
@@ -76,7 +76,7 @@ public String acceptLanguage() {
7676
}
7777

7878
/**
79-
* Sets Gets or sets the preferred language for the response.
79+
* Sets The preferred language for the response.
8080
*
8181
* @param acceptLanguage the acceptLanguage value.
8282
* @return the service client itself
@@ -86,11 +86,11 @@ public ComputeManagementClientImpl withAcceptLanguage(String acceptLanguage) {
8686
return this;
8787
}
8888

89-
/** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */
89+
/** The retry timeout in seconds for Long Running Operations. Default value is 30. */
9090
private int longRunningOperationRetryTimeout;
9191

9292
/**
93-
* Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
93+
* Gets The retry timeout in seconds for Long Running Operations. Default value is 30.
9494
*
9595
* @return the longRunningOperationRetryTimeout value.
9696
*/
@@ -99,7 +99,7 @@ public int longRunningOperationRetryTimeout() {
9999
}
100100

101101
/**
102-
* Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
102+
* Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
103103
*
104104
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
105105
* @return the service client itself
@@ -109,11 +109,11 @@ public ComputeManagementClientImpl withLongRunningOperationRetryTimeout(int long
109109
return this;
110110
}
111111

112-
/** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
112+
/** 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. */
113113
private boolean generateClientRequestId;
114114

115115
/**
116-
* Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
116+
* 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.
117117
*
118118
* @return the generateClientRequestId value.
119119
*/
@@ -122,7 +122,7 @@ public boolean generateClientRequestId() {
122122
}
123123

124124
/**
125-
* Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
125+
* 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.
126126
*
127127
* @param generateClientRequestId the generateClientRequestId value.
128128
* @return the service client itself
@@ -191,6 +191,6 @@ protected void initialize() {
191191
*/
192192
@Override
193193
public String userAgent() {
194-
return String.format("%s (%s, %s)", super.userAgent(), "ComputeManagementClient", "2017-09-01");
194+
return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ComputeManagementClient", "2017-09-01");
195195
}
196196
}

sdk/compute/mgmt-v2017_09_01/src/main/java/com/microsoft/azure/management/compute/v2017_09_01/implementation/ResourceSkuInner.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class ResourceSkuInner {
103103
private List<ResourceSkuRestrictions> restrictions;
104104

105105
/**
106-
* Get the resourceType value.
106+
* Get the type of resource the SKU applies to.
107107
*
108108
* @return the resourceType value
109109
*/
@@ -112,7 +112,7 @@ public String resourceType() {
112112
}
113113

114114
/**
115-
* Get the name value.
115+
* Get the name of SKU.
116116
*
117117
* @return the name value
118118
*/
@@ -121,7 +121,7 @@ public String name() {
121121
}
122122

123123
/**
124-
* Get the tier value.
124+
* Get specifies the tier of virtual machines in a scale set.&lt;br /&gt;&lt;br /&gt; Possible Values:&lt;br /&gt;&lt;br /&gt; **Standard**&lt;br /&gt;&lt;br /&gt; **Basic**.
125125
*
126126
* @return the tier value
127127
*/
@@ -130,7 +130,7 @@ public String tier() {
130130
}
131131

132132
/**
133-
* Get the size value.
133+
* Get the Size of the SKU.
134134
*
135135
* @return the size value
136136
*/
@@ -139,7 +139,7 @@ public String size() {
139139
}
140140

141141
/**
142-
* Get the family value.
142+
* Get the Family of this particular SKU.
143143
*
144144
* @return the family value
145145
*/
@@ -148,7 +148,7 @@ public String family() {
148148
}
149149

150150
/**
151-
* Get the kind value.
151+
* Get the Kind of resources that are supported in this SKU.
152152
*
153153
* @return the kind value
154154
*/
@@ -157,7 +157,7 @@ public String kind() {
157157
}
158158

159159
/**
160-
* Get the capacity value.
160+
* Get specifies the number of virtual machines in the scale set.
161161
*
162162
* @return the capacity value
163163
*/
@@ -166,7 +166,7 @@ public ResourceSkuCapacity capacity() {
166166
}
167167

168168
/**
169-
* Get the locations value.
169+
* Get the set of locations that the SKU is available.
170170
*
171171
* @return the locations value
172172
*/
@@ -175,7 +175,7 @@ public List<String> locations() {
175175
}
176176

177177
/**
178-
* Get the locationInfo value.
178+
* Get a list of locations and availability zones in those locations where the SKU is available.
179179
*
180180
* @return the locationInfo value
181181
*/
@@ -184,7 +184,7 @@ public List<ResourceSkuLocationInfo> locationInfo() {
184184
}
185185

186186
/**
187-
* Get the apiVersions value.
187+
* Get the api versions that support this SKU.
188188
*
189189
* @return the apiVersions value
190190
*/
@@ -193,7 +193,7 @@ public List<String> apiVersions() {
193193
}
194194

195195
/**
196-
* Get the costs value.
196+
* Get metadata for retrieving price info.
197197
*
198198
* @return the costs value
199199
*/
@@ -202,7 +202,7 @@ public List<ResourceSkuCosts> costs() {
202202
}
203203

204204
/**
205-
* Get the capabilities value.
205+
* Get a name value pair to describe the capability.
206206
*
207207
* @return the capabilities value
208208
*/
@@ -211,7 +211,7 @@ public List<ResourceSkuCapabilities> capabilities() {
211211
}
212212

213213
/**
214-
* Get the restrictions value.
214+
* Get the restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
215215
*
216216
* @return the restrictions value
217217
*/

0 commit comments

Comments
 (0)