Skip to content

Commit 1b44d78

Browse files
author
SDKAuto
committed
CodeGen from PR 30042 in Azure/azure-rest-api-specs
Merge 6eac62d9d8edcdd87ea99ead27df0537bb623840 into 338500f2ec11dcfebd2484ad05334b64f8294809
1 parent 9286b6a commit 1b44d78

File tree

268 files changed

+300
-7436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+300
-7436
lines changed

sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Release History
22

3-
## 1.4.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2024-07-31)
44

5-
### Features Added
5+
- Azure Resource Manager NetAppFiles client library for Java. This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-2024-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

7-
### Breaking Changes
7+
### Features Added
88

9-
### Bugs Fixed
9+
#### `models.Replication` was modified
1010

11-
### Other Changes
11+
* `replicationId()` was added
1212

1313
## 1.3.0 (2024-07-24)
1414

sdk/netapp/azure-resourcemanager-netapp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager NetAppFiles client library for Java.
44

5-
This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2023-11-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-2024-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-netapp</artifactId>
35-
<version>1.3.0</version>
35+
<version>1.4.0-beta.1</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md

Lines changed: 96 additions & 96 deletions
Large diffs are not rendered by default.

sdk/netapp/azure-resourcemanager-netapp/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for NetAppFiles Management</name>
21-
<description>This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2023-11-01.</description>
21+
<description>This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-2024-03.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>
@@ -45,6 +45,7 @@
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
48+
<revapi.skip>true</revapi.skip>
4849
</properties>
4950
<dependencies>
5051
<dependency>

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
273273
.append("-")
274274
.append("com.azure.resourcemanager.netapp")
275275
.append("/")
276-
.append("1.3.0");
276+
.append("1.0.0-beta.1");
277277
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
278278
userAgentBuilder.append(" (")
279279
.append(Configuration.getGlobalConfiguration().get("java.version"))

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public String poolId() {
144144

145145
/**
146146
* Get the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
147-
* multiply of 1099511627776).
147+
* multiple of 1099511627776).
148148
*
149149
* @return the size value.
150150
*/
@@ -154,7 +154,7 @@ public long size() {
154154

155155
/**
156156
* Set the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
157-
* multiply of 1099511627776).
157+
* multiple of 1099511627776).
158158
*
159159
* @param size the size value to set.
160160
* @return the CapacityPoolInner object itself.

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@Fluent
1919
public final class PoolPatchProperties implements JsonSerializable<PoolPatchProperties> {
2020
/*
21-
* Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of
21+
* Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of
2222
* 1099511627776).
2323
*/
2424
private Long size;
@@ -41,7 +41,7 @@ public PoolPatchProperties() {
4141

4242
/**
4343
* Get the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
44-
* multiply of 1099511627776).
44+
* multiple of 1099511627776).
4545
*
4646
* @return the size value.
4747
*/
@@ -51,7 +51,7 @@ public Long size() {
5151

5252
/**
5353
* Set the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
54-
* multiply of 1099511627776).
54+
* multiple of 1099511627776).
5555
*
5656
* @param size the size value to set.
5757
* @return the PoolPatchProperties object itself.

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public final class PoolProperties implements JsonSerializable<PoolProperties> {
2626
private String poolId;
2727

2828
/*
29-
* Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of
29+
* Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of
3030
* 1099511627776).
3131
*/
3232
private long size;
@@ -84,7 +84,7 @@ public String poolId() {
8484

8585
/**
8686
* Get the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
87-
* multiply of 1099511627776).
87+
* multiple of 1099511627776).
8888
*
8989
* @return the size value.
9090
*/
@@ -94,7 +94,7 @@ public long size() {
9494

9595
/**
9696
* Set the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
97-
* multiply of 1099511627776).
97+
* multiple of 1099511627776).
9898
*
9999
* @param size the size value to set.
100100
* @return the PoolProperties object itself.

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
*/
2020
@Fluent
2121
public final class ReplicationInner implements JsonSerializable<ReplicationInner> {
22+
/*
23+
* UUID v4 used to identify the replication.
24+
*/
25+
private String replicationId;
26+
2227
/*
2328
* Indicates whether the local volume is the source or destination for the Volume Replication
2429
*/
@@ -45,6 +50,15 @@ public final class ReplicationInner implements JsonSerializable<ReplicationInner
4550
public ReplicationInner() {
4651
}
4752

53+
/**
54+
* Get the replicationId property: UUID v4 used to identify the replication.
55+
*
56+
* @return the replicationId value.
57+
*/
58+
public String replicationId() {
59+
return this.replicationId;
60+
}
61+
4862
/**
4963
* Get the endpointType property: Indicates whether the local volume is the source or destination for the Volume
5064
* Replication.
@@ -174,6 +188,8 @@ public static ReplicationInner fromJson(JsonReader jsonReader) throws IOExceptio
174188

175189
if ("remoteVolumeResourceId".equals(fieldName)) {
176190
deserializedReplicationInner.remoteVolumeResourceId = reader.getString();
191+
} else if ("replicationId".equals(fieldName)) {
192+
deserializedReplicationInner.replicationId = reader.getString();
177193
} else if ("endpointType".equals(fieldName)) {
178194
deserializedReplicationInner.endpointType = EndpointType.fromString(reader.getString());
179195
} else if ("replicationSchedule".equals(fieldName)) {

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,9 @@ public VolumeInner withServiceLevel(ServiceLevel serviceLevel) {
227227

228228
/**
229229
* Get the usageThreshold property: Maximum storage quota allowed for a file system in bytes. This is a soft quota
230-
* used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for
231-
* LargeVolume on exceptional basis. Specified in bytes.
230+
* used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes,
231+
* valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values
232+
* expressed in bytes as multiples of 1 GiB.
232233
*
233234
* @return the usageThreshold value.
234235
*/
@@ -238,8 +239,9 @@ public long usageThreshold() {
238239

239240
/**
240241
* Set the usageThreshold property: Maximum storage quota allowed for a file system in bytes. This is a soft quota
241-
* used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for
242-
* LargeVolume on exceptional basis. Specified in bytes.
242+
* used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes,
243+
* valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values
244+
* expressed in bytes as multiples of 1 GiB.
243245
*
244246
* @param usageThreshold the usageThreshold value to set.
245247
* @return the VolumeInner object itself.

0 commit comments

Comments
 (0)