Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR azure-resourcemanager-batchai] Batchai t2 config #20856

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
3 changes: 2 additions & 1 deletion sdk/batchai/azure-resourcemanager-batchai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2021-04-21)

- Azure Resource Manager BatchAI client library for Java. This package contains Microsoft Azure SDK for BatchAI Management SDK. The Azure BatchAI Management API. Package tag package-2018-05. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## 1.0.0-beta.1 (2021-04-14)

Expand Down
2 changes: 1 addition & 1 deletion sdk/batchai/azure-resourcemanager-batchai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-batchai</artifactId>
<version>1.0.0-beta.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
Expand Down Expand Up @@ -102,112 +101,6 @@ FileServerInner create(
FileServerCreateParameters parameters,
Context context);

/**
* Deletes a File Server.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
* characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
* @param fileServerName The name of the file server within the specified resource group. File server names can only
* contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
* from 1 through 64 characters long.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String workspaceName, String fileServerName);

/**
* Deletes a File Server.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
* characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
* @param fileServerName The name of the file server within the specified resource group. File server names can only
* contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
* from 1 through 64 characters long.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String workspaceName, String fileServerName, Context context);

/**
* Deletes a File Server.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
* characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
* @param fileServerName The name of the file server within the specified resource group. File server names can only
* contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
* from 1 through 64 characters long.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String workspaceName, String fileServerName);

/**
* Deletes a File Server.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
* characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
* @param fileServerName The name of the file server within the specified resource group. File server names can only
* contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
* from 1 through 64 characters long.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String workspaceName, String fileServerName, Context context);

/**
* Gets information about a File Server.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
* characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
* @param fileServerName The name of the file server within the specified resource group. File server names can only
* contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
* from 1 through 64 characters long.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return information about a File Server.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
FileServerInner get(String resourceGroupName, String workspaceName, String fileServerName);

/**
* Gets information about a File Server.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param workspaceName The name of the workspace. Workspace names can only contain a combination of alphanumeric
* characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
* @param fileServerName The name of the file server within the specified resource group. File server names can only
* contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be
* from 1 through 64 characters long.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return information about a File Server.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<FileServerInner> getWithResponse(
String resourceGroupName, String workspaceName, String fileServerName, Context context);

/**
* Gets a list of File Servers associated with the specified workspace.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,26 +116,6 @@ public FileServer create(Context context) {
this.createParameters = new FileServerCreateParameters();
}

public FileServer refresh() {
this.innerObject =
serviceManager
.serviceClient()
.getFileServers()
.getWithResponse(resourceGroupName, workspaceName, fileServerName, Context.NONE)
.getValue();
return this;
}

public FileServer refresh(Context context) {
this.innerObject =
serviceManager
.serviceClient()
.getFileServers()
.getWithResponse(resourceGroupName, workspaceName, fileServerName, context)
.getValue();
return this;
}

public FileServerImpl withVmSize(String vmSize) {
this.createParameters.withVmSize(vmSize);
return this;
Expand Down
Loading