Skip to content

Commit 67d5200

Browse files
author
SDKAuto
committed
CodeGen from PR 13055 in Azure/azure-rest-api-specs
Merge 37b26cdcd5f6775c314b4720c21f1978c64a0289 into 9800a750cde8c31d45d3ae7936a808e277ce961a
1 parent ca2813b commit 67d5200

33 files changed

+130
-127
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Release History
22

3-
## 1.0.0-beta.1 (2021-02-18)
3+
## 1.0.0-beta.1 (2021-02-20)
44

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-2020-11-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
56
- Azure Resource Manager NetApp Files client library for Java. This package contains Microsoft Azure SDK for NetApp Files Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2020-11-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
7+

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Azure Resource Manager NetApp Files client library for Java
1+
# Azure Resource Manager NetAppFiles client library for Java
22

3-
Azure Resource Manager NetApp Files client library for Java.
3+
Azure Resource Manager NetAppFiles client library for Java.
44

5-
This package contains Microsoft Azure SDK for NetApp Files Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2020-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-netapp-2020-11-01. 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

@@ -60,7 +60,7 @@ AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
6060
TokenCredential credential = new DefaultAzureCredentialBuilder()
6161
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
6262
.build();
63-
NetAppManager manager = NetAppManager
63+
NetAppFilesManager manager = NetAppFilesManager
6464
.authenticate(credential, profile);
6565
```
6666

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-netapp;current} -->
1313
<packaging>jar</packaging>
1414

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

1919
<licenses>
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
import java.util.List;
5151
import java.util.Objects;
5252

53-
/** Entry point to NetAppManager. Microsoft NetApp Azure Resource Provider specification. */
54-
public final class NetAppManager {
53+
/** Entry point to NetAppFilesManager. Microsoft NetApp Files Azure Resource Provider specification. */
54+
public final class NetAppFilesManager {
5555
private Operations operations;
5656

5757
private NetAppResources netAppResources;
@@ -76,7 +76,7 @@ public final class NetAppManager {
7676

7777
private final NetAppManagementClient clientObject;
7878

79-
private NetAppManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
79+
private NetAppFilesManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
8080
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
8181
Objects.requireNonNull(profile, "'profile' cannot be null.");
8282
this.clientObject =
@@ -89,25 +89,25 @@ private NetAppManager(HttpPipeline httpPipeline, AzureProfile profile, Duration
8989
}
9090

9191
/**
92-
* Creates an instance of NetApp service API entry point.
92+
* Creates an instance of NetAppFiles service API entry point.
9393
*
9494
* @param credential the credential to use.
9595
* @param profile the Azure profile for client.
96-
* @return the NetApp service API instance.
96+
* @return the NetAppFiles service API instance.
9797
*/
98-
public static NetAppManager authenticate(TokenCredential credential, AzureProfile profile) {
98+
public static NetAppFilesManager authenticate(TokenCredential credential, AzureProfile profile) {
9999
Objects.requireNonNull(credential, "'credential' cannot be null.");
100100
Objects.requireNonNull(profile, "'profile' cannot be null.");
101101
return configure().authenticate(credential, profile);
102102
}
103103

104104
/**
105-
* Gets a Configurable instance that can be used to create NetAppManager with optional configuration.
105+
* Gets a Configurable instance that can be used to create NetAppFilesManager with optional configuration.
106106
*
107107
* @return the Configurable instance allowing configurations.
108108
*/
109109
public static Configurable configure() {
110-
return new NetAppManager.Configurable();
110+
return new NetAppFilesManager.Configurable();
111111
}
112112

113113
/** The Configurable allowing configurations to be set. */
@@ -182,13 +182,13 @@ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
182182
}
183183

184184
/**
185-
* Creates an instance of NetApp service API entry point.
185+
* Creates an instance of NetAppFiles service API entry point.
186186
*
187187
* @param credential the credential to use.
188188
* @param profile the Azure profile for client.
189-
* @return the NetApp service API instance.
189+
* @return the NetAppFiles service API instance.
190190
*/
191-
public NetAppManager authenticate(TokenCredential credential, AzureProfile profile) {
191+
public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile profile) {
192192
Objects.requireNonNull(credential, "'credential' cannot be null.");
193193
Objects.requireNonNull(profile, "'profile' cannot be null.");
194194

@@ -232,7 +232,7 @@ public NetAppManager authenticate(TokenCredential credential, AzureProfile profi
232232
.httpClient(httpClient)
233233
.policies(policies.toArray(new HttpPipelinePolicy[0]))
234234
.build();
235-
return new NetAppManager(httpPipeline, profile, defaultPollInterval);
235+
return new NetAppFilesManager(httpPipeline, profile, defaultPollInterval);
236236
}
237237
}
238238

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Code generated by Microsoft (R) AutoRest Code Generator.
44

55
/**
6-
* Package containing the inner data models for NetAppManagementClient. Microsoft NetApp Azure Resource Provider
6+
* Package containing the inner data models for NetAppManagementClient. Microsoft NetApp Files Azure Resource Provider
77
* specification.
88
*/
99
package com.azure.resourcemanager.netapp.fluent.models;

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Code generated by Microsoft (R) AutoRest Code Generator.
44

55
/**
6-
* Package containing the service clients for NetAppManagementClient. Microsoft NetApp Azure Resource Provider
6+
* Package containing the service clients for NetAppManagementClient. Microsoft NetApp Files Azure Resource Provider
77
* specification.
88
*/
99
package com.azure.resourcemanager.netapp.fluent;

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import com.azure.core.http.rest.SimpleResponse;
99
import com.azure.core.util.Context;
1010
import com.azure.core.util.logging.ClientLogger;
11-
import com.azure.resourcemanager.netapp.NetAppManager;
11+
import com.azure.resourcemanager.netapp.NetAppFilesManager;
1212
import com.azure.resourcemanager.netapp.fluent.AccountBackupsClient;
1313
import com.azure.resourcemanager.netapp.fluent.models.BackupInner;
1414
import com.azure.resourcemanager.netapp.fluent.models.BackupsListInner;
@@ -22,9 +22,9 @@ public final class AccountBackupsImpl implements AccountBackups {
2222

2323
private final AccountBackupsClient innerClient;
2424

25-
private final NetAppManager serviceManager;
25+
private final NetAppFilesManager serviceManager;
2626

27-
public AccountBackupsImpl(AccountBackupsClient innerClient, NetAppManager serviceManager) {
27+
public AccountBackupsImpl(AccountBackupsClient innerClient, NetAppFilesManager serviceManager) {
2828
this.innerClient = innerClient;
2929
this.serviceManager = serviceManager;
3030
}
@@ -88,7 +88,7 @@ private AccountBackupsClient serviceClient() {
8888
return this.innerClient;
8989
}
9090

91-
private NetAppManager manager() {
91+
private NetAppFilesManager manager() {
9292
return this.serviceManager;
9393
}
9494
}

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import com.azure.core.http.rest.SimpleResponse;
1010
import com.azure.core.util.Context;
1111
import com.azure.core.util.logging.ClientLogger;
12-
import com.azure.resourcemanager.netapp.NetAppManager;
12+
import com.azure.resourcemanager.netapp.NetAppFilesManager;
1313
import com.azure.resourcemanager.netapp.fluent.AccountsClient;
1414
import com.azure.resourcemanager.netapp.fluent.models.NetAppAccountInner;
1515
import com.azure.resourcemanager.netapp.models.Accounts;
@@ -21,9 +21,9 @@ public final class AccountsImpl implements Accounts {
2121

2222
private final AccountsClient innerClient;
2323

24-
private final NetAppManager serviceManager;
24+
private final NetAppFilesManager serviceManager;
2525

26-
public AccountsImpl(AccountsClient innerClient, NetAppManager serviceManager) {
26+
public AccountsImpl(AccountsClient innerClient, NetAppFilesManager serviceManager) {
2727
this.innerClient = innerClient;
2828
this.serviceManager = serviceManager;
2929
}
@@ -154,7 +154,7 @@ private AccountsClient serviceClient() {
154154
return this.innerClient;
155155
}
156156

157-
private NetAppManager manager() {
157+
private NetAppFilesManager manager() {
158158
return this.serviceManager;
159159
}
160160

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupImpl.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import com.azure.core.management.Region;
88
import com.azure.core.util.Context;
9-
import com.azure.resourcemanager.netapp.NetAppManager;
9+
import com.azure.resourcemanager.netapp.NetAppFilesManager;
1010
import com.azure.resourcemanager.netapp.fluent.models.BackupInner;
1111
import com.azure.resourcemanager.netapp.models.Backup;
1212
import com.azure.resourcemanager.netapp.models.BackupPatch;
@@ -16,7 +16,7 @@
1616
public final class BackupImpl implements Backup, Backup.Definition, Backup.Update {
1717
private BackupInner innerObject;
1818

19-
private final NetAppManager serviceManager;
19+
private final NetAppFilesManager serviceManager;
2020

2121
public String id() {
2222
return this.innerModel().id();
@@ -74,7 +74,7 @@ public BackupInner innerModel() {
7474
return this.innerObject;
7575
}
7676

77-
private NetAppManager manager() {
77+
private NetAppFilesManager manager() {
7878
return this.serviceManager;
7979
}
8080

@@ -118,7 +118,7 @@ public Backup create(Context context) {
118118
return this;
119119
}
120120

121-
BackupImpl(String name, NetAppManager serviceManager) {
121+
BackupImpl(String name, NetAppFilesManager serviceManager) {
122122
this.innerObject = new BackupInner();
123123
this.serviceManager = serviceManager;
124124
this.backupName = name;
@@ -147,7 +147,7 @@ public Backup apply(Context context) {
147147
return this;
148148
}
149149

150-
BackupImpl(BackupInner innerObject, NetAppManager serviceManager) {
150+
BackupImpl(BackupInner innerObject, NetAppFilesManager serviceManager) {
151151
this.innerObject = innerObject;
152152
this.serviceManager = serviceManager;
153153
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import com.azure.core.http.rest.SimpleResponse;
1010
import com.azure.core.util.Context;
1111
import com.azure.core.util.logging.ClientLogger;
12-
import com.azure.resourcemanager.netapp.NetAppManager;
12+
import com.azure.resourcemanager.netapp.NetAppFilesManager;
1313
import com.azure.resourcemanager.netapp.fluent.BackupPoliciesClient;
1414
import com.azure.resourcemanager.netapp.fluent.models.BackupPolicyInner;
1515
import com.azure.resourcemanager.netapp.models.BackupPolicies;
@@ -21,9 +21,9 @@ public final class BackupPoliciesImpl implements BackupPolicies {
2121

2222
private final BackupPoliciesClient innerClient;
2323

24-
private final NetAppManager serviceManager;
24+
private final NetAppFilesManager serviceManager;
2525

26-
public BackupPoliciesImpl(BackupPoliciesClient innerClient, NetAppManager serviceManager) {
26+
public BackupPoliciesImpl(BackupPoliciesClient innerClient, NetAppFilesManager serviceManager) {
2727
this.innerClient = innerClient;
2828
this.serviceManager = serviceManager;
2929
}
@@ -186,7 +186,7 @@ private BackupPoliciesClient serviceClient() {
186186
return this.innerClient;
187187
}
188188

189-
private NetAppManager manager() {
189+
private NetAppFilesManager manager() {
190190
return this.serviceManager;
191191
}
192192

0 commit comments

Comments
 (0)