Skip to content

Commit

Permalink
CodeGen from PR 17748 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge d5f7749107e77627276af273f10206f1882dfc02 into 7c98de7664d4565c088350015ccd0cfc102eab49
  • Loading branch information
SDKAuto committed Feb 11, 2022
1 parent 9b38787 commit d60c560
Show file tree
Hide file tree
Showing 34 changed files with 360 additions and 332 deletions.
4 changes: 3 additions & 1 deletion sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0-beta.1 (2022-02-11)

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

### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/signalr/azure-resourcemanager-signalr/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-signalr</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.signalr")
.append("/")
.append("1.0.0-beta.3");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.signalr.fluent.models.PrivateEndpointConnectionInner;
import reactor.core.publisher.Mono;

/**
* An instance of this class provides access to all the operations defined in SignalRPrivateEndpointConnectionsClient.
Expand Down Expand Up @@ -73,7 +74,7 @@ PrivateEndpointConnectionInner get(
* @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 specified private endpoint connection.
* @return the specified private endpoint connection along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<PrivateEndpointConnectionInner> getWithResponse(
Expand Down Expand Up @@ -111,7 +112,7 @@ PrivateEndpointConnectionInner update(
* @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 a private endpoint connection to an azure resource.
* @return a private endpoint connection to an azure resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<PrivateEndpointConnectionInner> updateWithResponse(
Expand All @@ -131,7 +132,7 @@ Response<PrivateEndpointConnectionInner> updateWithResponse(
* @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.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
Expand All @@ -148,7 +149,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
* @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.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.signalr.fluent.models.SharedPrivateLinkResourceInner;
import reactor.core.publisher.Mono;

/**
* An instance of this class provides access to all the operations defined in SignalRSharedPrivateLinkResourcesClient.
Expand Down Expand Up @@ -73,7 +74,7 @@ SharedPrivateLinkResourceInner get(
* @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 specified shared private link resource.
* @return the specified shared private link resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<SharedPrivateLinkResourceInner> getWithResponse(
Expand All @@ -90,7 +91,8 @@ Response<SharedPrivateLinkResourceInner> getWithResponse(
* @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 describes a Shared Private Link Resource.
* @return describes a Shared Private Link Resource along with {@link Response} on successful completion of {@link
* Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SharedPrivateLinkResourceInner>, SharedPrivateLinkResourceInner> beginCreateOrUpdate(
Expand All @@ -111,7 +113,8 @@ SyncPoller<PollResult<SharedPrivateLinkResourceInner>, SharedPrivateLinkResource
* @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 describes a Shared Private Link Resource.
* @return describes a Shared Private Link Resource along with {@link Response} on successful completion of {@link
* Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SharedPrivateLinkResourceInner>, SharedPrivateLinkResourceInner> beginCreateOrUpdate(
Expand Down Expand Up @@ -173,7 +176,7 @@ SharedPrivateLinkResourceInner createOrUpdate(
* @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.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
Expand All @@ -190,7 +193,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
* @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.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import com.azure.resourcemanager.signalr.fluent.models.SkuListInner;
import com.azure.resourcemanager.signalr.models.NameAvailabilityParameters;
import com.azure.resourcemanager.signalr.models.RegenerateKeyParameters;
import reactor.core.publisher.Mono;

/** An instance of this class provides access to all the operations defined in SignalRsClient. */
public interface SignalRsClient {
Expand All @@ -42,7 +43,7 @@ public interface SignalRsClient {
* @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 result of the request to check name availability.
* @return result of the request to check name availability along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<NameAvailabilityInner> checkNameAvailabilityWithResponse(
Expand Down Expand Up @@ -121,7 +122,7 @@ Response<NameAvailabilityInner> checkNameAvailabilityWithResponse(
* @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 resource and its properties.
* @return the resource and its properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<SignalRResourceInner> getByResourceGroupWithResponse(
Expand All @@ -137,7 +138,7 @@ Response<SignalRResourceInner> getByResourceGroupWithResponse(
* @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 a class represent a resource.
* @return a class represent a resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SignalRResourceInner>, SignalRResourceInner> beginCreateOrUpdate(
Expand All @@ -154,7 +155,7 @@ SyncPoller<PollResult<SignalRResourceInner>, SignalRResourceInner> beginCreateOr
* @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 a class represent a resource.
* @return a class represent a resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SignalRResourceInner>, SignalRResourceInner> beginCreateOrUpdate(
Expand Down Expand Up @@ -201,7 +202,7 @@ SignalRResourceInner createOrUpdate(
* @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.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String resourceName);
Expand All @@ -216,7 +217,7 @@ SignalRResourceInner createOrUpdate(
* @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.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String resourceName, Context context);
Expand Down Expand Up @@ -258,7 +259,7 @@ SignalRResourceInner createOrUpdate(
* @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 a class represent a resource.
* @return a class represent a resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SignalRResourceInner>, SignalRResourceInner> beginUpdate(
Expand All @@ -275,7 +276,7 @@ SyncPoller<PollResult<SignalRResourceInner>, SignalRResourceInner> beginUpdate(
* @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 a class represent a resource.
* @return a class represent a resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SignalRResourceInner>, SignalRResourceInner> beginUpdate(
Expand Down Expand Up @@ -337,7 +338,7 @@ SignalRResourceInner update(
* @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 access keys of the resource.
* @return the access keys of the resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<SignalRKeysInner> listKeysWithResponse(String resourceGroupName, String resourceName, Context context);
Expand All @@ -352,7 +353,8 @@ SignalRResourceInner update(
* @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 a class represents the access keys of the resource.
* @return a class represents the access keys of the resource along with {@link Response} on successful completion
* of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SignalRKeysInner>, SignalRKeysInner> beginRegenerateKey(
Expand All @@ -369,7 +371,8 @@ SyncPoller<PollResult<SignalRKeysInner>, SignalRKeysInner> beginRegenerateKey(
* @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 a class represents the access keys of the resource.
* @return a class represents the access keys of the resource along with {@link Response} on successful completion
* of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SignalRKeysInner>, SignalRKeysInner> beginRegenerateKey(
Expand Down Expand Up @@ -416,7 +419,7 @@ SignalRKeysInner regenerateKey(
* @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.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginRestart(String resourceGroupName, String resourceName);
Expand All @@ -431,7 +434,7 @@ SignalRKeysInner regenerateKey(
* @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.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginRestart(String resourceGroupName, String resourceName, Context context);
Expand Down Expand Up @@ -487,7 +490,7 @@ SignalRKeysInner regenerateKey(
* @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 list skus operation response.
* @return the list skus operation response along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<SkuListInner> listSkusWithResponse(String resourceGroupName, String resourceName, Context context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public final class OperationInner {
private Boolean isDataAction;

/*
* The object that describes the operation.
* The object that describes a operation.
*/
@JsonProperty(value = "display")
private OperationDisplay display;
Expand All @@ -42,7 +42,7 @@ public final class OperationInner {
private String origin;

/*
* Extra properties for the operation.
* Extra Operation properties.
*/
@JsonProperty(value = "properties")
private OperationProperties properties;
Expand Down Expand Up @@ -88,7 +88,7 @@ public OperationInner withIsDataAction(Boolean isDataAction) {
}

/**
* Get the display property: The object that describes the operation.
* Get the display property: The object that describes a operation.
*
* @return the display value.
*/
Expand All @@ -97,7 +97,7 @@ public OperationDisplay display() {
}

/**
* Set the display property: The object that describes the operation.
* Set the display property: The object that describes a operation.
*
* @param display the display value to set.
* @return the OperationInner object itself.
Expand Down Expand Up @@ -130,7 +130,7 @@ public OperationInner withOrigin(String origin) {
}

/**
* Get the properties property: Extra properties for the operation.
* Get the properties property: Extra Operation properties.
*
* @return the properties value.
*/
Expand All @@ -139,7 +139,7 @@ public OperationProperties properties() {
}

/**
* Set the properties property: Extra properties for the operation.
* Set the properties property: Extra Operation properties.
*
* @param properties the properties value to set.
* @return the OperationInner object itself.
Expand Down
Loading

0 comments on commit d60c560

Please sign in to comment.