Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Release History

## 1.0.0-beta.1 (2021-02-18)
## 1.0.0-beta.1 (2021-02-19)

- 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).
- Azure Resource Manager NetAppFiles client library for Java. This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetAppFiles 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).
8 changes: 4 additions & 4 deletions sdk/netapp/azure-resourcemanager-netapp/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Azure Resource Manager NetApp Files client library for Java
# Azure Resource Manager NetAppFiles client library for Java

Azure Resource Manager NetApp Files client library for Java.
Azure Resource Manager NetAppFiles 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).
This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetAppFiles 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).

## We'd love to hear your feedback

Expand Down Expand Up @@ -60,7 +60,7 @@ AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
NetAppManager manager = NetAppManager
NetAppFilesManager manager = NetAppFilesManager
.authenticate(credential, profile);
```

Expand Down
4 changes: 2 additions & 2 deletions sdk/netapp/azure-resourcemanager-netapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-netapp;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure SDK for NetApp Files Management</name>
<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>
<name>Microsoft Azure SDK for NetAppFiles Management</name>
<description>This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetAppFiles 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>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
import java.util.List;
import java.util.Objects;

/** Entry point to NetAppManager. Microsoft NetApp Azure Resource Provider specification. */
public final class NetAppManager {
/** Entry point to NetAppFilesManager. Microsoft NetAppFiles Azure Resource Provider specification. */
public final class NetAppFilesManager {
private Operations operations;

private NetAppResources netAppResources;
Expand All @@ -76,7 +76,7 @@ public final class NetAppManager {

private final NetAppManagementClient clientObject;

private NetAppManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
private NetAppFilesManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
this.clientObject =
Expand All @@ -89,25 +89,25 @@ private NetAppManager(HttpPipeline httpPipeline, AzureProfile profile, Duration
}

/**
* Creates an instance of NetApp service API entry point.
* Creates an instance of NetAppFiles service API entry point.
*
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the NetApp service API instance.
* @return the NetAppFiles service API instance.
*/
public static NetAppManager authenticate(TokenCredential credential, AzureProfile profile) {
public static NetAppFilesManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
return configure().authenticate(credential, profile);
}

/**
* Gets a Configurable instance that can be used to create NetAppManager with optional configuration.
* Gets a Configurable instance that can be used to create NetAppFilesManager with optional configuration.
*
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new NetAppManager.Configurable();
return new NetAppFilesManager.Configurable();
}

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

/**
* Creates an instance of NetApp service API entry point.
* Creates an instance of NetAppFiles service API entry point.
*
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the NetApp service API instance.
* @return the NetAppFiles service API instance.
*/
public NetAppManager authenticate(TokenCredential credential, AzureProfile profile) {
public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");

Expand Down Expand Up @@ -232,7 +232,7 @@ public NetAppManager authenticate(TokenCredential credential, AzureProfile profi
.httpClient(httpClient)
.policies(policies.toArray(new HttpPipelinePolicy[0]))
.build();
return new NetAppManager(httpPipeline, profile, defaultPollInterval);
return new NetAppFilesManager(httpPipeline, profile, defaultPollInterval);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Code generated by Microsoft (R) AutoRest Code Generator.

/**
* Package containing the inner data models for NetAppManagementClient. Microsoft NetApp Azure Resource Provider
* Package containing the inner data models for NetAppManagementClient. Microsoft NetAppFiles Azure Resource Provider
* specification.
*/
package com.azure.resourcemanager.netapp.fluent.models;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Code generated by Microsoft (R) AutoRest Code Generator.

/**
* Package containing the service clients for NetAppManagementClient. Microsoft NetApp Azure Resource Provider
* Package containing the service clients for NetAppManagementClient. Microsoft NetAppFiles Azure Resource Provider
* specification.
*/
package com.azure.resourcemanager.netapp.fluent;
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import com.azure.core.http.rest.SimpleResponse;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.NetAppManager;
import com.azure.resourcemanager.netapp.NetAppFilesManager;
import com.azure.resourcemanager.netapp.fluent.AccountBackupsClient;
import com.azure.resourcemanager.netapp.fluent.models.BackupInner;
import com.azure.resourcemanager.netapp.fluent.models.BackupsListInner;
Expand All @@ -22,9 +22,9 @@ public final class AccountBackupsImpl implements AccountBackups {

private final AccountBackupsClient innerClient;

private final NetAppManager serviceManager;
private final NetAppFilesManager serviceManager;

public AccountBackupsImpl(AccountBackupsClient innerClient, NetAppManager serviceManager) {
public AccountBackupsImpl(AccountBackupsClient innerClient, NetAppFilesManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
Expand Down Expand Up @@ -88,7 +88,7 @@ private AccountBackupsClient serviceClient() {
return this.innerClient;
}

private NetAppManager manager() {
private NetAppFilesManager manager() {
return this.serviceManager;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import com.azure.core.http.rest.SimpleResponse;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.NetAppManager;
import com.azure.resourcemanager.netapp.NetAppFilesManager;
import com.azure.resourcemanager.netapp.fluent.AccountsClient;
import com.azure.resourcemanager.netapp.fluent.models.NetAppAccountInner;
import com.azure.resourcemanager.netapp.models.Accounts;
Expand All @@ -21,9 +21,9 @@ public final class AccountsImpl implements Accounts {

private final AccountsClient innerClient;

private final NetAppManager serviceManager;
private final NetAppFilesManager serviceManager;

public AccountsImpl(AccountsClient innerClient, NetAppManager serviceManager) {
public AccountsImpl(AccountsClient innerClient, NetAppFilesManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
Expand Down Expand Up @@ -154,7 +154,7 @@ private AccountsClient serviceClient() {
return this.innerClient;
}

private NetAppManager manager() {
private NetAppFilesManager manager() {
return this.serviceManager;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import com.azure.core.management.Region;
import com.azure.core.util.Context;
import com.azure.resourcemanager.netapp.NetAppManager;
import com.azure.resourcemanager.netapp.NetAppFilesManager;
import com.azure.resourcemanager.netapp.fluent.models.BackupInner;
import com.azure.resourcemanager.netapp.models.Backup;
import com.azure.resourcemanager.netapp.models.BackupPatch;
Expand All @@ -16,7 +16,7 @@
public final class BackupImpl implements Backup, Backup.Definition, Backup.Update {
private BackupInner innerObject;

private final NetAppManager serviceManager;
private final NetAppFilesManager serviceManager;

public String id() {
return this.innerModel().id();
Expand Down Expand Up @@ -74,7 +74,7 @@ public BackupInner innerModel() {
return this.innerObject;
}

private NetAppManager manager() {
private NetAppFilesManager manager() {
return this.serviceManager;
}

Expand Down Expand Up @@ -118,7 +118,7 @@ public Backup create(Context context) {
return this;
}

BackupImpl(String name, NetAppManager serviceManager) {
BackupImpl(String name, NetAppFilesManager serviceManager) {
this.innerObject = new BackupInner();
this.serviceManager = serviceManager;
this.backupName = name;
Expand Down Expand Up @@ -147,7 +147,7 @@ public Backup apply(Context context) {
return this;
}

BackupImpl(BackupInner innerObject, NetAppManager serviceManager) {
BackupImpl(BackupInner innerObject, NetAppFilesManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import com.azure.core.http.rest.SimpleResponse;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.NetAppManager;
import com.azure.resourcemanager.netapp.NetAppFilesManager;
import com.azure.resourcemanager.netapp.fluent.BackupPoliciesClient;
import com.azure.resourcemanager.netapp.fluent.models.BackupPolicyInner;
import com.azure.resourcemanager.netapp.models.BackupPolicies;
Expand All @@ -21,9 +21,9 @@ public final class BackupPoliciesImpl implements BackupPolicies {

private final BackupPoliciesClient innerClient;

private final NetAppManager serviceManager;
private final NetAppFilesManager serviceManager;

public BackupPoliciesImpl(BackupPoliciesClient innerClient, NetAppManager serviceManager) {
public BackupPoliciesImpl(BackupPoliciesClient innerClient, NetAppFilesManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
Expand Down Expand Up @@ -186,7 +186,7 @@ private BackupPoliciesClient serviceClient() {
return this.innerClient;
}

private NetAppManager manager() {
private NetAppFilesManager manager() {
return this.serviceManager;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import com.azure.core.management.Region;
import com.azure.core.util.Context;
import com.azure.resourcemanager.netapp.NetAppManager;
import com.azure.resourcemanager.netapp.NetAppFilesManager;
import com.azure.resourcemanager.netapp.fluent.models.BackupPolicyInner;
import com.azure.resourcemanager.netapp.models.BackupPolicy;
import com.azure.resourcemanager.netapp.models.BackupPolicyPatch;
Expand All @@ -18,7 +18,7 @@
public final class BackupPolicyImpl implements BackupPolicy, BackupPolicy.Definition, BackupPolicy.Update {
private BackupPolicyInner innerObject;

private final NetAppManager serviceManager;
private final NetAppFilesManager serviceManager;

public String id() {
return this.innerModel().id();
Expand Down Expand Up @@ -94,7 +94,7 @@ public BackupPolicyInner innerModel() {
return this.innerObject;
}

private NetAppManager manager() {
private NetAppFilesManager manager() {
return this.serviceManager;
}

Expand Down Expand Up @@ -130,7 +130,7 @@ public BackupPolicy create(Context context) {
return this;
}

BackupPolicyImpl(String name, NetAppManager serviceManager) {
BackupPolicyImpl(String name, NetAppFilesManager serviceManager) {
this.innerObject = new BackupPolicyInner();
this.serviceManager = serviceManager;
this.backupPolicyName = name;
Expand Down Expand Up @@ -161,7 +161,7 @@ public BackupPolicy apply(Context context) {
return this;
}

BackupPolicyImpl(BackupPolicyInner innerObject, NetAppManager serviceManager) {
BackupPolicyImpl(BackupPolicyInner innerObject, NetAppFilesManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import com.azure.core.http.rest.SimpleResponse;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.NetAppManager;
import com.azure.resourcemanager.netapp.NetAppFilesManager;
import com.azure.resourcemanager.netapp.fluent.BackupsClient;
import com.azure.resourcemanager.netapp.fluent.models.BackupInner;
import com.azure.resourcemanager.netapp.models.Backup;
Expand All @@ -21,9 +21,9 @@ public final class BackupsImpl implements Backups {

private final BackupsClient innerClient;

private final NetAppManager serviceManager;
private final NetAppFilesManager serviceManager;

public BackupsImpl(BackupsClient innerClient, NetAppManager serviceManager) {
public BackupsImpl(BackupsClient innerClient, NetAppFilesManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
Expand Down Expand Up @@ -259,7 +259,7 @@ private BackupsClient serviceClient() {
return this.innerClient;
}

private NetAppManager manager() {
private NetAppFilesManager manager() {
return this.serviceManager;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

package com.azure.resourcemanager.netapp.implementation;

import com.azure.resourcemanager.netapp.NetAppManager;
import com.azure.resourcemanager.netapp.NetAppFilesManager;
import com.azure.resourcemanager.netapp.fluent.models.BackupInner;
import com.azure.resourcemanager.netapp.fluent.models.BackupsListInner;
import com.azure.resourcemanager.netapp.models.Backup;
Expand All @@ -16,9 +16,9 @@
public final class BackupsListImpl implements BackupsList {
private BackupsListInner innerObject;

private final NetAppManager serviceManager;
private final NetAppFilesManager serviceManager;

BackupsListImpl(BackupsListInner innerObject, NetAppManager serviceManager) {
BackupsListImpl(BackupsListInner innerObject, NetAppFilesManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
Expand All @@ -38,7 +38,7 @@ public BackupsListInner innerModel() {
return this.innerObject;
}

private NetAppManager manager() {
private NetAppFilesManager manager() {
return this.serviceManager;
}
}
Loading