Skip to content

Commit 3e83690

Browse files
author
SDKAuto
committed
CodeGen from PR 17157 in Azure/azure-rest-api-specs
Merge 44c10d8df642e9801cc38e95fda27719250f70b7 into 0a6665506efb86dba686aa87cab3bdd836fac36a
1 parent 4477d35 commit 3e83690

File tree

11 files changed

+61
-10
lines changed

11 files changed

+61
-10
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.8 (Unreleased)
3+
## 1.0.0-beta.1 (2021-12-31)
4+
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-netapp-2021-08-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.0.0-beta.7</version>
35+
<version>1.0.0-beta.8</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
- [Get](#netappresourcequotalimits_get)
4646
- [List](#netappresourcequotalimits_list)
4747

48+
## Operations
49+
50+
- [List](#operations_list)
51+
4852
## Pools
4953

5054
- [CreateOrUpdate](#pools_createorupdate)
@@ -190,7 +194,7 @@ public final class AccountsCreateOrUpdateSamples {
190194
.withDomain("10.10.10.3")
191195
.withDns("10.10.10.3, 10.10.10.4")
192196
.withSmbServerName("SMBServer")
193-
.withOrganizationalUnit("Engineering")
197+
.withOrganizationalUnit("OU=Engineering")
194198
.withSite("SiteName")
195199
.withAesEncryption(true)
196200
.withLdapSigning(false)
@@ -735,6 +739,27 @@ public final class NetAppResourceQuotaLimitsListSamples {
735739
}
736740
```
737741

742+
### Operations_List
743+
744+
```java
745+
import com.azure.core.util.Context;
746+
747+
/** Samples for Operations List. */
748+
public final class OperationsListSamples {
749+
/*
750+
* x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/OperationList.json
751+
*/
752+
/**
753+
* Sample code: OperationList.
754+
*
755+
* @param manager Entry point to NetAppFilesManager.
756+
*/
757+
public static void operationList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
758+
manager.operations().list(Context.NONE);
759+
}
760+
}
761+
```
762+
738763
### Pools_CreateOrUpdate
739764

740765
```java
@@ -881,6 +906,7 @@ public final class SnapshotPoliciesCreateSamples {
881906
new WeeklySchedule().withSnapshotsToKeep(3).withDay("Wednesday").withHour(14).withMinute(45))
882907
.withMonthlySchedule(
883908
new MonthlySchedule().withSnapshotsToKeep(5).withDaysOfMonth("10,11,12").withHour(14).withMinute(15))
909+
.withEnabled(true)
884910
.create();
885911
}
886912
}

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
@@ -220,7 +220,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
220220
.append("-")
221221
.append("com.azure.resourcemanager.netapp")
222222
.append("/")
223-
.append("1.0.0-beta.7");
223+
.append("1.0.0-beta.1");
224224
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
225225
userAgentBuilder
226226
.append(" (")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public String backupId() {
6868
}
6969

7070
/**
71-
* Get the creationDate property: name The creation date of the backup.
71+
* Get the creationDate property: creationDate The creation date of the backup.
7272
*
7373
* @return the creationDate value.
7474
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public final class BackupProperties {
2323
private String backupId;
2424

2525
/*
26-
* name The creation date of the backup
26+
* creationDate The creation date of the backup
2727
*/
2828
@JsonProperty(value = "creationDate", access = JsonProperty.Access.WRITE_ONLY)
2929
private OffsetDateTime creationDate;
@@ -81,7 +81,7 @@ public String backupId() {
8181
}
8282

8383
/**
84-
* Get the creationDate property: name The creation date of the backup.
84+
* Get the creationDate property: creationDate The creation date of the backup.
8585
*
8686
* @return the creationDate value.
8787
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public interface Backup {
4848
String backupId();
4949

5050
/**
51-
* Gets the creationDate property: name The creation date of the backup.
51+
* Gets the creationDate property: creationDate The creation date of the backup.
5252
*
5353
* @return the creationDate value.
5454
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public String backupId() {
7070
}
7171

7272
/**
73-
* Get the creationDate property: name The creation date of the backup.
73+
* Get the creationDate property: creationDate The creation date of the backup.
7474
*
7575
* @return the creationDate value.
7676
*/

sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsCreateOrUpdateSamples.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static void accountsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAp
3232
.withDomain("10.10.10.3")
3333
.withDns("10.10.10.3, 10.10.10.4")
3434
.withSmbServerName("SMBServer")
35-
.withOrganizationalUnit("Engineering")
35+
.withOrganizationalUnit("OU=Engineering")
3636
.withSite("SiteName")
3737
.withAesEncryption(true)
3838
.withLdapSigning(false)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
5+
package com.azure.resourcemanager.netapp.generated;
6+
7+
import com.azure.core.util.Context;
8+
9+
/** Samples for Operations List. */
10+
public final class OperationsListSamples {
11+
/*
12+
* x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/OperationList.json
13+
*/
14+
/**
15+
* Sample code: OperationList.
16+
*
17+
* @param manager Entry point to NetAppFilesManager.
18+
*/
19+
public static void operationList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
20+
manager.operations().list(Context.NONE);
21+
}
22+
}

0 commit comments

Comments
 (0)