diff --git a/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md b/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md index 5f391c3d50036..9283be412e157 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md +++ b/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md @@ -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 diff --git a/sdk/signalr/azure-resourcemanager-signalr/README.md b/sdk/signalr/azure-resourcemanager-signalr/README.md index d2438293701e9..c4acb117c3ea4 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/README.md +++ b/sdk/signalr/azure-resourcemanager-signalr/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-signalr - 1.0.0-beta.3 + 1.0.0-beta.4 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java index ece20bd022b03..411f7325cdc75 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java @@ -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(" (") diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java index 6e41b9466be93..b149e319b74c5 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java @@ -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. @@ -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 getWithResponse( @@ -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 updateWithResponse( @@ -131,7 +132,7 @@ Response 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, Void> beginDelete( @@ -148,7 +149,7 @@ SyncPoller, 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, Void> beginDelete( diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java index 1ba24dbe00c15..39c9a0ecf5bdd 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java @@ -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. @@ -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 getWithResponse( @@ -90,7 +91,8 @@ Response 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, SharedPrivateLinkResourceInner> beginCreateOrUpdate( @@ -111,7 +113,8 @@ SyncPoller, 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, SharedPrivateLinkResourceInner> beginCreateOrUpdate( @@ -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, Void> beginDelete( @@ -190,7 +193,7 @@ SyncPoller, 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, Void> beginDelete( diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java index f268fec36e7e0..bde9a0205d37f 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java @@ -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 { @@ -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 checkNameAvailabilityWithResponse( @@ -121,7 +122,7 @@ Response 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 getByResourceGroupWithResponse( @@ -137,7 +138,7 @@ Response 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, SignalRResourceInner> beginCreateOrUpdate( @@ -154,7 +155,7 @@ SyncPoller, 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, SignalRResourceInner> beginCreateOrUpdate( @@ -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, Void> beginDelete(String resourceGroupName, String resourceName); @@ -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, Void> beginDelete(String resourceGroupName, String resourceName, Context context); @@ -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, SignalRResourceInner> beginUpdate( @@ -275,7 +276,7 @@ SyncPoller, 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, SignalRResourceInner> beginUpdate( @@ -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 listKeysWithResponse(String resourceGroupName, String resourceName, Context context); @@ -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, SignalRKeysInner> beginRegenerateKey( @@ -369,7 +371,8 @@ SyncPoller, 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, SignalRKeysInner> beginRegenerateKey( @@ -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, Void> beginRestart(String resourceGroupName, String resourceName); @@ -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, Void> beginRestart(String resourceGroupName, String resourceName, Context context); @@ -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 listSkusWithResponse(String resourceGroupName, String resourceName, Context context); diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/OperationInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/OperationInner.java index bb9370a352a60..4ca6e462b140e 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/OperationInner.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/OperationInner.java @@ -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; @@ -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; @@ -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. */ @@ -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. @@ -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. */ @@ -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. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java index 0e4fe613b4540..150a43736218d 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java @@ -27,7 +27,7 @@ public final class PrivateEndpointConnectionInner extends ProxyResource { private SystemData systemData; /* - * Properties of the private endpoint connection + * Private endpoint connection properties */ @JsonProperty(value = "properties") private PrivateEndpointConnectionProperties innerProperties; @@ -42,7 +42,7 @@ public SystemData systemData() { } /** - * Get the innerProperties property: Properties of the private endpoint connection. + * Get the innerProperties property: Private endpoint connection properties. * * @return the innerProperties value. */ @@ -51,7 +51,7 @@ private PrivateEndpointConnectionProperties innerProperties() { } /** - * Get the provisioningState property: Provisioning state of the private endpoint connection. + * Get the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ @@ -60,7 +60,7 @@ public ProvisioningState provisioningState() { } /** - * Get the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Get the privateEndpoint property: Private endpoint. * * @return the privateEndpoint value. */ @@ -69,7 +69,7 @@ public PrivateEndpoint privateEndpoint() { } /** - * Set the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Set the privateEndpoint property: Private endpoint. * * @param privateEndpoint the privateEndpoint value to set. * @return the PrivateEndpointConnectionInner object itself. @@ -92,7 +92,7 @@ public List groupIds() { } /** - * Get the privateLinkServiceConnectionState property: Connection state. + * Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @return the privateLinkServiceConnectionState value. */ @@ -101,7 +101,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { } /** - * Set the privateLinkServiceConnectionState property: Connection state. + * Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set. * @return the PrivateEndpointConnectionInner object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionProperties.java index e6909603fb5db..9d9a06694c2a1 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionProperties.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionProperties.java @@ -19,13 +19,13 @@ public final class PrivateEndpointConnectionProperties { @JsonIgnore private final ClientLogger logger = new ClientLogger(PrivateEndpointConnectionProperties.class); /* - * Provisioning state of the private endpoint connection + * Provisioning state of the resource. */ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState; /* - * Private endpoint associated with the private endpoint connection + * Private endpoint */ @JsonProperty(value = "privateEndpoint") private PrivateEndpoint privateEndpoint; @@ -37,13 +37,13 @@ public final class PrivateEndpointConnectionProperties { private List groupIds; /* - * Connection state + * Connection state of the private endpoint connection */ @JsonProperty(value = "privateLinkServiceConnectionState") private PrivateLinkServiceConnectionState privateLinkServiceConnectionState; /** - * Get the provisioningState property: Provisioning state of the private endpoint connection. + * Get the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ @@ -52,7 +52,7 @@ public ProvisioningState provisioningState() { } /** - * Get the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Get the privateEndpoint property: Private endpoint. * * @return the privateEndpoint value. */ @@ -61,7 +61,7 @@ public PrivateEndpoint privateEndpoint() { } /** - * Set the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Set the privateEndpoint property: Private endpoint. * * @param privateEndpoint the privateEndpoint value to set. * @return the PrivateEndpointConnectionProperties object itself. @@ -81,7 +81,7 @@ public List groupIds() { } /** - * Get the privateLinkServiceConnectionState property: Connection state. + * Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @return the privateLinkServiceConnectionState value. */ @@ -90,7 +90,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { } /** - * Set the privateLinkServiceConnectionState property: Connection state. + * Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set. * @return the PrivateEndpointConnectionProperties object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java index e1e61c43f7a41..336da464b4114 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java @@ -18,13 +18,13 @@ public final class PrivateLinkResourceInner extends ProxyResource { @JsonIgnore private final ClientLogger logger = new ClientLogger(PrivateLinkResourceInner.class); /* - * Properties of a private link resource + * Private link resource properties */ @JsonProperty(value = "properties") private PrivateLinkResourceProperties innerProperties; /** - * Get the innerProperties property: Properties of a private link resource. + * Get the innerProperties property: Private link resource properties. * * @return the innerProperties value. */ diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java index a9aacb9710560..706131ddab523 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java @@ -25,7 +25,7 @@ public final class SharedPrivateLinkResourceInner extends ProxyResource { private SystemData systemData; /* - * Describes the properties of a Shared Private Link Resource + * Describes the properties of an existing Shared Private Link Resource */ @JsonProperty(value = "properties") private SharedPrivateLinkResourceProperties innerProperties; @@ -40,7 +40,7 @@ public SystemData systemData() { } /** - * Get the innerProperties property: Describes the properties of a Shared Private Link Resource. + * Get the innerProperties property: Describes the properties of an existing Shared Private Link Resource. * * @return the innerProperties value. */ @@ -95,7 +95,7 @@ public SharedPrivateLinkResourceInner withPrivateLinkResourceId(String privateLi } /** - * Get the provisioningState property: Provisioning state of the shared private link resource. + * Get the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceProperties.java index b4f70972dae8d..ebba45342f13a 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceProperties.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceProperties.java @@ -30,7 +30,7 @@ public final class SharedPrivateLinkResourceProperties { private String privateLinkResourceId; /* - * Provisioning state of the shared private link resource + * Provisioning state of the resource. */ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState; @@ -89,7 +89,7 @@ public SharedPrivateLinkResourceProperties withPrivateLinkResourceId(String priv } /** - * Get the provisioningState property: Provisioning state of the shared private link resource. + * Get the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java index 05e1572ddceb2..64b6ceb711fd4 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java @@ -74,7 +74,7 @@ public final class SignalRProperties { private List sharedPrivateLinkResources; /* - * TLS settings. + * TLS settings for the resource */ @JsonProperty(value = "tls") private SignalRTlsSettings tls; @@ -101,10 +101,6 @@ public final class SignalRProperties { /* * Resource log configuration of a Microsoft.SignalRService resource. - * If resourceLogConfiguration isn't null or empty, it will override - * options "EnableConnectivityLog" and "EnableMessagingLogs" in features. - * Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" - * in features. */ @JsonProperty(value = "resourceLogConfiguration") private ResourceLogConfiguration resourceLogConfiguration; @@ -116,13 +112,13 @@ public final class SignalRProperties { private SignalRCorsSettings cors; /* - * Upstream settings when the service is in server-less mode. + * The settings for the Upstream when the service is in server-less mode. */ @JsonProperty(value = "upstream") private ServerlessUpstreamSettings upstream; /* - * Network ACLs + * Network ACLs for the resource */ @JsonProperty(value = "networkACLs") private SignalRNetworkACLs networkACLs; @@ -227,7 +223,7 @@ public List sharedPrivateLinkResources() { } /** - * Get the tls property: TLS settings. + * Get the tls property: TLS settings for the resource. * * @return the tls value. */ @@ -236,7 +232,7 @@ public SignalRTlsSettings tls() { } /** - * Set the tls property: TLS settings. + * Set the tls property: TLS settings for the resource. * * @param tls the tls value to set. * @return the SignalRProperties object itself. @@ -286,10 +282,7 @@ public SignalRProperties withFeatures(List features) { } /** - * Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @return the resourceLogConfiguration value. */ @@ -298,10 +291,7 @@ public ResourceLogConfiguration resourceLogConfiguration() { } /** - * Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @param resourceLogConfiguration the resourceLogConfiguration value to set. * @return the SignalRProperties object itself. @@ -332,7 +322,7 @@ public SignalRProperties withCors(SignalRCorsSettings cors) { } /** - * Get the upstream property: Upstream settings when the service is in server-less mode. + * Get the upstream property: The settings for the Upstream when the service is in server-less mode. * * @return the upstream value. */ @@ -341,7 +331,7 @@ public ServerlessUpstreamSettings upstream() { } /** - * Set the upstream property: Upstream settings when the service is in server-less mode. + * Set the upstream property: The settings for the Upstream when the service is in server-less mode. * * @param upstream the upstream value to set. * @return the SignalRProperties object itself. @@ -352,7 +342,7 @@ public SignalRProperties withUpstream(ServerlessUpstreamSettings upstream) { } /** - * Get the networkACLs property: Network ACLs. + * Get the networkACLs property: Network ACLs for the resource. * * @return the networkACLs value. */ @@ -361,7 +351,7 @@ public SignalRNetworkACLs networkACLs() { } /** - * Set the networkACLs property: Network ACLs. + * Set the networkACLs property: Network ACLs for the resource. * * @param networkACLs the networkACLs value to set. * @return the SignalRProperties object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRResourceInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRResourceInner.java index 5f3b3703823e1..adea65838d482 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRResourceInner.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRResourceInner.java @@ -29,26 +29,25 @@ public final class SignalRResourceInner extends Resource { @JsonIgnore private final ClientLogger logger = new ClientLogger(SignalRResourceInner.class); /* - * The billing information of the resource.(e.g. Free, Standard) + * The billing information of the resource. */ @JsonProperty(value = "sku") private ResourceSku sku; /* - * Settings used to provision or configure the resource + * A class that describes the properties of the resource */ @JsonProperty(value = "properties") private SignalRProperties innerProperties; /* - * The kind of the service - e.g. "SignalR" for - * "Microsoft.SignalRService/SignalR" + * The kind of the service, it can be SignalR or RawWebSockets */ @JsonProperty(value = "kind") private ServiceKind kind; /* - * The managed identity response + * A class represent managed identities used for request and response */ @JsonProperty(value = "identity") private ManagedIdentity identity; @@ -60,7 +59,7 @@ public final class SignalRResourceInner extends Resource { private SystemData systemData; /** - * Get the sku property: The billing information of the resource.(e.g. Free, Standard). + * Get the sku property: The billing information of the resource. * * @return the sku value. */ @@ -69,7 +68,7 @@ public ResourceSku sku() { } /** - * Set the sku property: The billing information of the resource.(e.g. Free, Standard). + * Set the sku property: The billing information of the resource. * * @param sku the sku value to set. * @return the SignalRResourceInner object itself. @@ -80,7 +79,7 @@ public SignalRResourceInner withSku(ResourceSku sku) { } /** - * Get the innerProperties property: Settings used to provision or configure the resource. + * Get the innerProperties property: A class that describes the properties of the resource. * * @return the innerProperties value. */ @@ -89,7 +88,7 @@ private SignalRProperties innerProperties() { } /** - * Get the kind property: The kind of the service - e.g. "SignalR" for "Microsoft.SignalRService/SignalR". + * Get the kind property: The kind of the service, it can be SignalR or RawWebSockets. * * @return the kind value. */ @@ -98,7 +97,7 @@ public ServiceKind kind() { } /** - * Set the kind property: The kind of the service - e.g. "SignalR" for "Microsoft.SignalRService/SignalR". + * Set the kind property: The kind of the service, it can be SignalR or RawWebSockets. * * @param kind the kind value to set. * @return the SignalRResourceInner object itself. @@ -109,7 +108,7 @@ public SignalRResourceInner withKind(ServiceKind kind) { } /** - * Get the identity property: The managed identity response. + * Get the identity property: A class represent managed identities used for request and response. * * @return the identity value. */ @@ -118,7 +117,7 @@ public ManagedIdentity identity() { } /** - * Set the identity property: The managed identity response. + * Set the identity property: A class represent managed identities used for request and response. * * @param identity the identity value to set. * @return the SignalRResourceInner object itself. @@ -226,7 +225,7 @@ public List sharedPrivateLinkResources() { } /** - * Get the tls property: TLS settings. + * Get the tls property: TLS settings for the resource. * * @return the tls value. */ @@ -235,7 +234,7 @@ public SignalRTlsSettings tls() { } /** - * Set the tls property: TLS settings. + * Set the tls property: TLS settings for the resource. * * @param tls the tls value to set. * @return the SignalRResourceInner object itself. @@ -291,10 +290,7 @@ public SignalRResourceInner withFeatures(List features) { } /** - * Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @return the resourceLogConfiguration value. */ @@ -303,10 +299,7 @@ public ResourceLogConfiguration resourceLogConfiguration() { } /** - * Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @param resourceLogConfiguration the resourceLogConfiguration value to set. * @return the SignalRResourceInner object itself. @@ -343,7 +336,7 @@ public SignalRResourceInner withCors(SignalRCorsSettings cors) { } /** - * Get the upstream property: Upstream settings when the service is in server-less mode. + * Get the upstream property: The settings for the Upstream when the service is in server-less mode. * * @return the upstream value. */ @@ -352,7 +345,7 @@ public ServerlessUpstreamSettings upstream() { } /** - * Set the upstream property: Upstream settings when the service is in server-less mode. + * Set the upstream property: The settings for the Upstream when the service is in server-less mode. * * @param upstream the upstream value to set. * @return the SignalRResourceInner object itself. @@ -366,7 +359,7 @@ public SignalRResourceInner withUpstream(ServerlessUpstreamSettings upstream) { } /** - * Get the networkACLs property: Network ACLs. + * Get the networkACLs property: Network ACLs for the resource. * * @return the networkACLs value. */ @@ -375,7 +368,7 @@ public SignalRNetworkACLs networkACLs() { } /** - * Set the networkACLs property: Network ACLs. + * Set the networkACLs property: Network ACLs for the resource. * * @param networkACLs the networkACLs value to set. * @return the SignalRResourceInner object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsClientImpl.java index a06a66759e711..2e7c02a6394b7 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsClientImpl.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsClientImpl.java @@ -85,7 +85,8 @@ Mono> listNext( * * @throws 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 list REST API operations. + * @return result of the request to list REST API operations along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync() { @@ -118,7 +119,8 @@ private Mono> listSinglePageAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list REST API operations. + * @return result of the request to list REST API operations along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Context context) { @@ -203,7 +205,8 @@ public PagedIterable list(Context context) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list REST API operations. + * @return result of the request to list REST API operations along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -239,7 +242,8 @@ private Mono> listNextSinglePageAsync(String nextL * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list REST API operations. + * @return result of the request to list REST API operations along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateEndpointConnectionsClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateEndpointConnectionsClientImpl.java index f827a95dce59a..3ea3647769d22 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateEndpointConnectionsClientImpl.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateEndpointConnectionsClientImpl.java @@ -157,7 +157,8 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list of private endpoint connections. + * @return a list of private endpoint connections along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -216,7 +217,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list of private endpoint connections. + * @return a list of private endpoint connections along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -343,7 +345,8 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -401,7 +404,8 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -455,7 +459,7 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync( @@ -500,7 +504,7 @@ public PrivateEndpointConnectionInner get( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public Response getWithResponse( @@ -519,7 +523,8 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> updateWithResponseAsync( @@ -587,7 +592,8 @@ private Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> updateWithResponseAsync( @@ -652,7 +658,7 @@ private Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono updateAsync( @@ -705,7 +711,7 @@ public PrivateEndpointConnectionInner update( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public Response updateWithResponse( @@ -729,7 +735,7 @@ public Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> deleteWithResponseAsync( @@ -787,7 +793,7 @@ private Mono>> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> deleteWithResponseAsync( @@ -841,7 +847,7 @@ private Mono>> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, Void> beginDeleteAsync( @@ -850,7 +856,8 @@ private PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(privateEndpointConnectionName, resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -864,7 +871,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, Void> beginDeleteAsync( @@ -887,7 +894,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, Void> beginDelete( @@ -906,7 +913,7 @@ public SyncPoller, Void> beginDelete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, Void> beginDelete( @@ -925,7 +932,7 @@ public SyncPoller, Void> beginDelete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync( @@ -946,7 +953,7 @@ private Mono deleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync( @@ -997,7 +1004,8 @@ public void delete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list of private endpoint connections. + * @return a list of private endpoint connections along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1033,7 +1041,8 @@ private Mono> listNextSinglePageAs * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list of private endpoint connections. + * @return a list of private endpoint connections along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync( diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateLinkResourcesClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateLinkResourcesClientImpl.java index 4741ed21e877d..89842d4af6602 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateLinkResourcesClientImpl.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateLinkResourcesClientImpl.java @@ -96,7 +96,8 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 private link resources that need to be created for a resource. + * @return the private link resources that need to be created for a resource along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -155,7 +156,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 private link resources that need to be created for a resource. + * @return the private link resources that need to be created for a resource along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -279,7 +281,8 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return contains a list of PrivateLinkResource and a possible link to query more results. + * @return contains a list of PrivateLinkResource and a possible link to query more results along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -315,7 +318,8 @@ private Mono> listNextSinglePageAsync(St * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return contains a list of PrivateLinkResource and a possible link to query more results. + * @return contains a list of PrivateLinkResource and a possible link to query more results along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRSharedPrivateLinkResourcesClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRSharedPrivateLinkResourcesClientImpl.java index 6dd28baad06bd..3ccb373f84160 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRSharedPrivateLinkResourcesClientImpl.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRSharedPrivateLinkResourcesClientImpl.java @@ -157,7 +157,8 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list of shared private link resources. + * @return a list of shared private link resources along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -216,7 +217,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list of shared private link resources. + * @return a list of shared private link resources along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -343,7 +345,8 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -401,7 +404,8 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -455,7 +459,7 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync( @@ -500,7 +504,7 @@ public SharedPrivateLinkResourceInner get( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public Response getWithResponse( @@ -519,7 +523,8 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> createOrUpdateWithResponseAsync( @@ -587,7 +592,8 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> createOrUpdateWithResponseAsync( @@ -652,7 +658,8 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, SharedPrivateLinkResourceInner> @@ -670,7 +677,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), SharedPrivateLinkResourceInner.class, SharedPrivateLinkResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -685,7 +692,8 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, SharedPrivateLinkResourceInner> @@ -720,7 +728,8 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, SharedPrivateLinkResourceInner> beginCreateOrUpdate( @@ -744,7 +753,8 @@ public SyncPoller, SharedPrivateLinkR * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, SharedPrivateLinkResourceInner> beginCreateOrUpdate( @@ -769,7 +779,7 @@ public SyncPoller, SharedPrivateLinkR * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createOrUpdateAsync( @@ -794,7 +804,7 @@ private Mono createOrUpdateAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createOrUpdateAsync( @@ -866,7 +876,7 @@ public SharedPrivateLinkResourceInner createOrUpdate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> deleteWithResponseAsync( @@ -924,7 +934,7 @@ private Mono>> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> deleteWithResponseAsync( @@ -978,7 +988,7 @@ private Mono>> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, Void> beginDeleteAsync( @@ -987,7 +997,8 @@ private PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1001,7 +1012,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, Void> beginDeleteAsync( @@ -1024,7 +1035,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, Void> beginDelete( @@ -1043,7 +1054,7 @@ public SyncPoller, Void> beginDelete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, Void> beginDelete( @@ -1062,7 +1073,7 @@ public SyncPoller, Void> beginDelete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync( @@ -1083,7 +1094,7 @@ private Mono deleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync( @@ -1134,7 +1145,8 @@ public void delete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list of shared private link resources. + * @return a list of shared private link resources along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1170,7 +1182,8 @@ private Mono> listNextSinglePageAs * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 list of shared private link resources. + * @return a list of shared private link resources along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync( diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRsClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRsClientImpl.java index b20cee750b5b9..789264c8581c0 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRsClientImpl.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRsClientImpl.java @@ -265,7 +265,8 @@ Mono> listByResourceGroupNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> checkNameAvailabilityWithResponseAsync( @@ -315,7 +316,8 @@ private Mono> checkNameAvailabilityWithResponseA * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> checkNameAvailabilityWithResponseAsync( @@ -361,7 +363,7 @@ private Mono> checkNameAvailabilityWithResponseA * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono checkNameAvailabilityAsync( @@ -401,7 +403,7 @@ public NameAvailabilityInner checkNameAvailability(String location, NameAvailabi * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public Response checkNameAvailabilityWithResponse( @@ -414,7 +416,8 @@ public Response checkNameAvailabilityWithResponse( * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of resources and a possible link for next set. + * @return object that includes an array of resources and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync() { @@ -460,7 +463,8 @@ private Mono> listSinglePageAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of resources and a possible link for next set. + * @return object that includes an array of resources and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Context context) { @@ -558,7 +562,8 @@ public PagedIterable list(Context context) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of resources and a possible link for next set. + * @return object that includes an array of resources and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { @@ -611,7 +616,8 @@ private Mono> listByResourceGroupSinglePageA * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of resources and a possible link for next set. + * @return object that includes an array of resources and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync( @@ -728,7 +734,7 @@ public PagedIterable listByResourceGroup(String resourceGr * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getByResourceGroupWithResponseAsync( @@ -778,7 +784,7 @@ private Mono> getByResourceGroupWithResponseAsync * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getByResourceGroupWithResponseAsync( @@ -824,7 +830,7 @@ private Mono> getByResourceGroupWithResponseAsync * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getByResourceGroupAsync(String resourceGroupName, String resourceName) { @@ -865,7 +871,7 @@ public SignalRResourceInner getByResourceGroup(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public Response getByResourceGroupWithResponse( @@ -883,7 +889,7 @@ public Response getByResourceGroupWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> createOrUpdateWithResponseAsync( @@ -940,7 +946,7 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> createOrUpdateWithResponseAsync( @@ -993,7 +999,7 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, SignalRResourceInner> beginCreateOrUpdateAsync( @@ -1007,7 +1013,7 @@ private PollerFlux, SignalRResourceInner> begin this.client.getHttpPipeline(), SignalRResourceInner.class, SignalRResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1021,7 +1027,7 @@ private PollerFlux, SignalRResourceInner> begin * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, SignalRResourceInner> beginCreateOrUpdateAsync( @@ -1045,7 +1051,7 @@ private PollerFlux, SignalRResourceInner> begin * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, SignalRResourceInner> beginCreateOrUpdate( @@ -1064,7 +1070,7 @@ public SyncPoller, SignalRResourceInner> beginC * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, SignalRResourceInner> beginCreateOrUpdate( @@ -1082,7 +1088,7 @@ public SyncPoller, SignalRResourceInner> beginC * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createOrUpdateAsync( @@ -1103,7 +1109,7 @@ private Mono createOrUpdateAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createOrUpdateAsync( @@ -1159,7 +1165,7 @@ public SignalRResourceInner createOrUpdate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> deleteWithResponseAsync(String resourceGroupName, String resourceName) { @@ -1208,7 +1214,7 @@ private Mono>> deleteWithResponseAsync(String resource * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> deleteWithResponseAsync( @@ -1254,14 +1260,15 @@ private Mono>> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String resourceName) { Mono>> mono = deleteWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1274,7 +1281,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, Void> beginDeleteAsync( @@ -1295,7 +1302,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName) { @@ -1312,7 +1319,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, Void> beginDelete( @@ -1329,7 +1336,7 @@ public SyncPoller, Void> beginDelete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync(String resourceGroupName, String resourceName) { @@ -1346,7 +1353,7 @@ private Mono deleteAsync(String resourceGroupName, String resourceName) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync(String resourceGroupName, String resourceName, Context context) { @@ -1396,7 +1403,7 @@ public void delete(String resourceGroupName, String resourceName, Context contex * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> updateWithResponseAsync( @@ -1453,7 +1460,7 @@ private Mono>> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> updateWithResponseAsync( @@ -1506,7 +1513,7 @@ private Mono>> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, SignalRResourceInner> beginUpdateAsync( @@ -1519,7 +1526,7 @@ private PollerFlux, SignalRResourceInner> begin this.client.getHttpPipeline(), SignalRResourceInner.class, SignalRResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1533,7 +1540,7 @@ private PollerFlux, SignalRResourceInner> begin * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, SignalRResourceInner> beginUpdateAsync( @@ -1557,7 +1564,7 @@ private PollerFlux, SignalRResourceInner> begin * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, SignalRResourceInner> beginUpdate( @@ -1576,7 +1583,7 @@ public SyncPoller, SignalRResourceInner> beginU * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, SignalRResourceInner> beginUpdate( @@ -1594,7 +1601,7 @@ public SyncPoller, SignalRResourceInner> beginU * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono updateAsync( @@ -1615,7 +1622,7 @@ private Mono updateAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono updateAsync( @@ -1670,7 +1677,7 @@ public SignalRResourceInner update( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listKeysWithResponseAsync(String resourceGroupName, String resourceName) { @@ -1719,7 +1726,7 @@ private Mono> listKeysWithResponseAsync(String resour * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listKeysWithResponseAsync( @@ -1765,7 +1772,7 @@ private Mono> listKeysWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono listKeysAsync(String resourceGroupName, String resourceName) { @@ -1806,7 +1813,7 @@ public SignalRKeysInner listKeys(String resourceGroupName, String resourceName) * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public Response listKeysWithResponse( @@ -1824,7 +1831,8 @@ public Response listKeysWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> regenerateKeyWithResponseAsync( @@ -1881,7 +1889,8 @@ private Mono>> regenerateKeyWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> regenerateKeyWithResponseAsync( @@ -1934,7 +1943,8 @@ private Mono>> regenerateKeyWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, SignalRKeysInner> beginRegenerateKeyAsync( @@ -1944,7 +1954,11 @@ private PollerFlux, SignalRKeysInner> beginRegenera return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SignalRKeysInner.class, SignalRKeysInner.class, Context.NONE); + mono, + this.client.getHttpPipeline(), + SignalRKeysInner.class, + SignalRKeysInner.class, + this.client.getContext()); } /** @@ -1958,7 +1972,8 @@ private PollerFlux, SignalRKeysInner> beginRegenera * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, SignalRKeysInner> beginRegenerateKeyAsync( @@ -1982,7 +1997,8 @@ private PollerFlux, SignalRKeysInner> beginRegenera * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, SignalRKeysInner> beginRegenerateKey( @@ -2001,7 +2017,8 @@ public SyncPoller, SignalRKeysInner> beginRegenerat * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, SignalRKeysInner> beginRegenerateKey( @@ -2019,7 +2036,7 @@ public SyncPoller, SignalRKeysInner> beginRegenerat * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono regenerateKeyAsync( @@ -2040,7 +2057,7 @@ private Mono regenerateKeyAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono regenerateKeyAsync( @@ -2096,7 +2113,7 @@ public SignalRKeysInner regenerateKey( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> restartWithResponseAsync(String resourceGroupName, String resourceName) { @@ -2145,7 +2162,7 @@ private Mono>> restartWithResponseAsync(String resourc * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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.SINGLE) private Mono>> restartWithResponseAsync( @@ -2191,14 +2208,15 @@ private Mono>> restartWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, Void> beginRestartAsync(String resourceGroupName, String resourceName) { Mono>> mono = restartWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2211,7 +2229,7 @@ private PollerFlux, Void> beginRestartAsync(String resourceGrou * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) private PollerFlux, Void> beginRestartAsync( @@ -2232,7 +2250,7 @@ private PollerFlux, Void> beginRestartAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, Void> beginRestart(String resourceGroupName, String resourceName) { @@ -2249,7 +2267,7 @@ public SyncPoller, Void> beginRestart(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public SyncPoller, Void> beginRestart( @@ -2266,7 +2284,7 @@ public SyncPoller, Void> beginRestart( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono restartAsync(String resourceGroupName, String resourceName) { @@ -2283,7 +2301,7 @@ private Mono restartAsync(String resourceGroupName, String resourceName) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono restartAsync(String resourceGroupName, String resourceName, Context context) { @@ -2332,7 +2350,7 @@ public void restart(String resourceGroupName, String resourceName, Context conte * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSkusWithResponseAsync(String resourceGroupName, String resourceName) { @@ -2381,7 +2399,7 @@ private Mono> listSkusWithResponseAsync(String resourceGr * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSkusWithResponseAsync( @@ -2427,7 +2445,7 @@ private Mono> listSkusWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono listSkusAsync(String resourceGroupName, String resourceName) { @@ -2468,7 +2486,7 @@ public SkuListInner listSkus(String resourceGroupName, String resourceName) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws 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) public Response listSkusWithResponse(String resourceGroupName, String resourceName, Context context) { @@ -2482,7 +2500,8 @@ public Response listSkusWithResponse(String resourceGroupName, Str * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of resources and a possible link for next set. + * @return object that includes an array of resources and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) { @@ -2519,7 +2538,8 @@ private Mono> listBySubscriptionNextSinglePa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of resources and a possible link for next set. + * @return object that includes an array of resources and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listBySubscriptionNextSinglePageAsync( @@ -2555,7 +2575,8 @@ private Mono> listBySubscriptionNextSinglePa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of resources and a possible link for next set. + * @return object that includes an array of resources and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { @@ -2592,7 +2613,8 @@ private Mono> listByResourceGroupNextSingleP * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of resources and a possible link for next set. + * @return object that includes an array of resources and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupNextSinglePageAsync( diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/UsagesClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/UsagesClientImpl.java index f4e20dc352124..635433ff70ccd 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/UsagesClientImpl.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/UsagesClientImpl.java @@ -88,7 +88,8 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of the resource usages and a possible link for next set. + * @return object that includes an array of the resource usages and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String location) { @@ -139,7 +140,8 @@ private Mono> listSinglePageAsync(String locati * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of the resource usages and a possible link for next set. + * @return object that includes an array of the resource usages and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String location, Context context) { @@ -245,7 +247,8 @@ public PagedIterable list(String location, Context context) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of the resource usages and a possible link for next set. + * @return object that includes an array of the resource usages and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -281,7 +284,8 @@ private Mono> listNextSinglePageAsync(String ne * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return object that includes an array of the resource usages and a possible link for next set. + * @return object that includes an array of the resource usages and a possible link for next set along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/ManagedIdentity.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/ManagedIdentity.java index 64d5efa4d002d..c77b3c72fd6f1 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/ManagedIdentity.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/ManagedIdentity.java @@ -17,7 +17,7 @@ public class ManagedIdentity { @JsonIgnore private final ClientLogger logger = new ClientLogger(ManagedIdentity.class); /* - * Represent the identity type: systemAssigned, userAssigned, None + * Represents the identity type: systemAssigned, userAssigned, None */ @JsonProperty(value = "type") private ManagedIdentityType type; @@ -44,7 +44,7 @@ public class ManagedIdentity { private String tenantId; /** - * Get the type property: Represent the identity type: systemAssigned, userAssigned, None. + * Get the type property: Represents the identity type: systemAssigned, userAssigned, None. * * @return the type value. */ @@ -53,7 +53,7 @@ public ManagedIdentityType type() { } /** - * Set the type property: Represent the identity type: systemAssigned, userAssigned, None. + * Set the type property: Represents the identity type: systemAssigned, userAssigned, None. * * @param type the type value to set. * @return the ManagedIdentity object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/Operation.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/Operation.java index f450dba11b80e..674598c0f631b 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/Operation.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/Operation.java @@ -23,7 +23,7 @@ public interface Operation { Boolean isDataAction(); /** - * Gets the display property: The object that describes the operation. + * Gets the display property: The object that describes a operation. * * @return the display value. */ @@ -38,7 +38,7 @@ public interface Operation { String origin(); /** - * Gets the properties property: Extra properties for the operation. + * Gets the properties property: Extra Operation properties. * * @return the properties value. */ diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/OperationProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/OperationProperties.java index 8d5fb2a74040b..e6643117242c2 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/OperationProperties.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/OperationProperties.java @@ -15,13 +15,13 @@ public final class OperationProperties { @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationProperties.class); /* - * The service specifications. + * An object that describes a specification. */ @JsonProperty(value = "serviceSpecification") private ServiceSpecification serviceSpecification; /** - * Get the serviceSpecification property: The service specifications. + * Get the serviceSpecification property: An object that describes a specification. * * @return the serviceSpecification value. */ @@ -30,7 +30,7 @@ public ServiceSpecification serviceSpecification() { } /** - * Set the serviceSpecification property: The service specifications. + * Set the serviceSpecification property: An object that describes a specification. * * @param serviceSpecification the serviceSpecification value to set. * @return the OperationProperties object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/PrivateEndpointConnection.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/PrivateEndpointConnection.java index 70dc93f31acf4..1b548248aca62 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/PrivateEndpointConnection.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/PrivateEndpointConnection.java @@ -39,14 +39,14 @@ public interface PrivateEndpointConnection { SystemData systemData(); /** - * Gets the provisioningState property: Provisioning state of the private endpoint connection. + * Gets the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ ProvisioningState provisioningState(); /** - * Gets the privateEndpoint property: Private endpoint associated with the private endpoint connection. + * Gets the privateEndpoint property: Private endpoint. * * @return the privateEndpoint value. */ @@ -60,7 +60,7 @@ public interface PrivateEndpointConnection { List groupIds(); /** - * Gets the privateLinkServiceConnectionState property: Connection state. + * Gets the privateLinkServiceConnectionState property: Connection state of the private endpoint connection. * * @return the privateLinkServiceConnectionState value. */ diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/RegenerateKeyParameters.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/RegenerateKeyParameters.java index 026ab55c3175d..47730469375df 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/RegenerateKeyParameters.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/RegenerateKeyParameters.java @@ -15,14 +15,13 @@ public final class RegenerateKeyParameters { @JsonIgnore private final ClientLogger logger = new ClientLogger(RegenerateKeyParameters.class); /* - * The keyType to regenerate. Must be either 'primary' or - * 'secondary'(case-insensitive). + * The type of access key. */ @JsonProperty(value = "keyType") private KeyType keyType; /** - * Get the keyType property: The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). + * Get the keyType property: The type of access key. * * @return the keyType value. */ @@ -31,7 +30,7 @@ public KeyType keyType() { } /** - * Set the keyType property: The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). + * Set the keyType property: The type of access key. * * @param keyType the keyType value to set. * @return the RegenerateKeyParameters object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SharedPrivateLinkResource.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SharedPrivateLinkResource.java index abae80602e183..d4469ed205c99 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SharedPrivateLinkResource.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SharedPrivateLinkResource.java @@ -53,7 +53,7 @@ public interface SharedPrivateLinkResource { String privateLinkResourceId(); /** - * Gets the provisioningState property: Provisioning state of the shared private link resource. + * Gets the provisioningState property: Provisioning state of the resource. * * @return the provisioningState value. */ diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRNetworkACLs.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRNetworkACLs.java index 30ada44a6ec11..7e094a4cd7a6a 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRNetworkACLs.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRNetworkACLs.java @@ -16,13 +16,13 @@ public final class SignalRNetworkACLs { @JsonIgnore private final ClientLogger logger = new ClientLogger(SignalRNetworkACLs.class); /* - * Default action when no other rule matches + * Azure Networking ACL Action. */ @JsonProperty(value = "defaultAction") private AclAction defaultAction; /* - * ACL for requests from public network + * Network ACL */ @JsonProperty(value = "publicNetwork") private NetworkAcl publicNetwork; @@ -34,7 +34,7 @@ public final class SignalRNetworkACLs { private List privateEndpoints; /** - * Get the defaultAction property: Default action when no other rule matches. + * Get the defaultAction property: Azure Networking ACL Action. * * @return the defaultAction value. */ @@ -43,7 +43,7 @@ public AclAction defaultAction() { } /** - * Set the defaultAction property: Default action when no other rule matches. + * Set the defaultAction property: Azure Networking ACL Action. * * @param defaultAction the defaultAction value to set. * @return the SignalRNetworkACLs object itself. @@ -54,7 +54,7 @@ public SignalRNetworkACLs withDefaultAction(AclAction defaultAction) { } /** - * Get the publicNetwork property: ACL for requests from public network. + * Get the publicNetwork property: Network ACL. * * @return the publicNetwork value. */ @@ -63,7 +63,7 @@ public NetworkAcl publicNetwork() { } /** - * Set the publicNetwork property: ACL for requests from public network. + * Set the publicNetwork property: Network ACL. * * @param publicNetwork the publicNetwork value to set. * @return the SignalRNetworkACLs object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRPrivateEndpointConnections.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRPrivateEndpointConnections.java index 105d7e0b7b426..d4a76b5244949 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRPrivateEndpointConnections.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRPrivateEndpointConnections.java @@ -63,7 +63,7 @@ public interface SignalRPrivateEndpointConnections { * @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}. */ Response getWithResponse( String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context); @@ -99,7 +99,7 @@ PrivateEndpointConnection 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}. */ Response updateWithResponse( String privateEndpointConnectionName, diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRResource.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRResource.java index 9ebc5850bfe9d..b02cb0f12d227 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRResource.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRResource.java @@ -50,21 +50,21 @@ public interface SignalRResource { Map tags(); /** - * Gets the sku property: The billing information of the resource.(e.g. Free, Standard). + * Gets the sku property: The billing information of the resource. * * @return the sku value. */ ResourceSku sku(); /** - * Gets the kind property: The kind of the service - e.g. "SignalR" for "Microsoft.SignalRService/SignalR". + * Gets the kind property: The kind of the service, it can be SignalR or RawWebSockets. * * @return the kind value. */ ServiceKind kind(); /** - * Gets the identity property: The managed identity response. + * Gets the identity property: A class represent managed identities used for request and response. * * @return the identity value. */ @@ -136,7 +136,7 @@ public interface SignalRResource { List sharedPrivateLinkResources(); /** - * Gets the tls property: TLS settings. + * Gets the tls property: TLS settings for the resource. * * @return the tls value. */ @@ -162,10 +162,7 @@ public interface SignalRResource { List features(); /** - * Gets the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in - * features. + * Gets the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource. * * @return the resourceLogConfiguration value. */ @@ -179,14 +176,14 @@ public interface SignalRResource { SignalRCorsSettings cors(); /** - * Gets the upstream property: Upstream settings when the service is in server-less mode. + * Gets the upstream property: The settings for the Upstream when the service is in server-less mode. * * @return the upstream value. */ ServerlessUpstreamSettings upstream(); /** - * Gets the networkACLs property: Network ACLs. + * Gets the networkACLs property: Network ACLs for the resource. * * @return the networkACLs value. */ @@ -325,9 +322,9 @@ interface WithTags { /** The stage of the SignalRResource definition allowing to specify sku. */ interface WithSku { /** - * Specifies the sku property: The billing information of the resource.(e.g. Free, Standard). + * Specifies the sku property: The billing information of the resource.. * - * @param sku The billing information of the resource.(e.g. Free, Standard). + * @param sku The billing information of the resource. * @return the next definition stage. */ WithCreate withSku(ResourceSku sku); @@ -335,10 +332,9 @@ interface WithSku { /** The stage of the SignalRResource definition allowing to specify kind. */ interface WithKind { /** - * Specifies the kind property: The kind of the service - e.g. "SignalR" for - * "Microsoft.SignalRService/SignalR". + * Specifies the kind property: The kind of the service, it can be SignalR or RawWebSockets. * - * @param kind The kind of the service - e.g. "SignalR" for "Microsoft.SignalRService/SignalR". + * @param kind The kind of the service, it can be SignalR or RawWebSockets. * @return the next definition stage. */ WithCreate withKind(ServiceKind kind); @@ -346,9 +342,9 @@ interface WithKind { /** The stage of the SignalRResource definition allowing to specify identity. */ interface WithIdentity { /** - * Specifies the identity property: The managed identity response. + * Specifies the identity property: A class represent managed identities used for request and response. * - * @param identity The managed identity response. + * @param identity A class represent managed identities used for request and response. * @return the next definition stage. */ WithCreate withIdentity(ManagedIdentity identity); @@ -356,9 +352,9 @@ interface WithIdentity { /** The stage of the SignalRResource definition allowing to specify tls. */ interface WithTls { /** - * Specifies the tls property: TLS settings.. + * Specifies the tls property: TLS settings for the resource. * - * @param tls TLS settings. + * @param tls TLS settings for the resource. * @return the next definition stage. */ WithCreate withTls(SignalRTlsSettings tls); @@ -386,14 +382,9 @@ interface WithFeatures { interface WithResourceLogConfiguration { /** * Specifies the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService - * resource. If resourceLogConfiguration isn't null or empty, it will override options - * "EnableConnectivityLog" and "EnableMessagingLogs" in features. Otherwise, use options - * "EnableConnectivityLog" and "EnableMessagingLogs" in features.. - * - * @param resourceLogConfiguration Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. + * resource.. + * + * @param resourceLogConfiguration Resource log configuration of a Microsoft.SignalRService resource. * @return the next definition stage. */ WithCreate withResourceLogConfiguration(ResourceLogConfiguration resourceLogConfiguration); @@ -411,9 +402,9 @@ interface WithCors { /** The stage of the SignalRResource definition allowing to specify upstream. */ interface WithUpstream { /** - * Specifies the upstream property: Upstream settings when the service is in server-less mode.. + * Specifies the upstream property: The settings for the Upstream when the service is in server-less mode.. * - * @param upstream Upstream settings when the service is in server-less mode. + * @param upstream The settings for the Upstream when the service is in server-less mode. * @return the next definition stage. */ WithCreate withUpstream(ServerlessUpstreamSettings upstream); @@ -421,9 +412,9 @@ interface WithUpstream { /** The stage of the SignalRResource definition allowing to specify networkACLs. */ interface WithNetworkACLs { /** - * Specifies the networkACLs property: Network ACLs. + * Specifies the networkACLs property: Network ACLs for the resource. * - * @param networkACLs Network ACLs. + * @param networkACLs Network ACLs for the resource. * @return the next definition stage. */ WithCreate withNetworkACLs(SignalRNetworkACLs networkACLs); @@ -518,9 +509,9 @@ interface WithTags { /** The stage of the SignalRResource update allowing to specify sku. */ interface WithSku { /** - * Specifies the sku property: The billing information of the resource.(e.g. Free, Standard). + * Specifies the sku property: The billing information of the resource.. * - * @param sku The billing information of the resource.(e.g. Free, Standard). + * @param sku The billing information of the resource. * @return the next definition stage. */ Update withSku(ResourceSku sku); @@ -528,9 +519,9 @@ interface WithSku { /** The stage of the SignalRResource update allowing to specify identity. */ interface WithIdentity { /** - * Specifies the identity property: The managed identity response. + * Specifies the identity property: A class represent managed identities used for request and response. * - * @param identity The managed identity response. + * @param identity A class represent managed identities used for request and response. * @return the next definition stage. */ Update withIdentity(ManagedIdentity identity); @@ -538,9 +529,9 @@ interface WithIdentity { /** The stage of the SignalRResource update allowing to specify tls. */ interface WithTls { /** - * Specifies the tls property: TLS settings.. + * Specifies the tls property: TLS settings for the resource. * - * @param tls TLS settings. + * @param tls TLS settings for the resource. * @return the next definition stage. */ Update withTls(SignalRTlsSettings tls); @@ -568,14 +559,9 @@ interface WithFeatures { interface WithResourceLogConfiguration { /** * Specifies the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService - * resource. If resourceLogConfiguration isn't null or empty, it will override options - * "EnableConnectivityLog" and "EnableMessagingLogs" in features. Otherwise, use options - * "EnableConnectivityLog" and "EnableMessagingLogs" in features.. - * - * @param resourceLogConfiguration Resource log configuration of a Microsoft.SignalRService resource. If - * resourceLogConfiguration isn't null or empty, it will override options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. Otherwise, use options "EnableConnectivityLog" and - * "EnableMessagingLogs" in features. + * resource.. + * + * @param resourceLogConfiguration Resource log configuration of a Microsoft.SignalRService resource. * @return the next definition stage. */ Update withResourceLogConfiguration(ResourceLogConfiguration resourceLogConfiguration); @@ -593,9 +579,9 @@ interface WithCors { /** The stage of the SignalRResource update allowing to specify upstream. */ interface WithUpstream { /** - * Specifies the upstream property: Upstream settings when the service is in server-less mode.. + * Specifies the upstream property: The settings for the Upstream when the service is in server-less mode.. * - * @param upstream Upstream settings when the service is in server-less mode. + * @param upstream The settings for the Upstream when the service is in server-less mode. * @return the next definition stage. */ Update withUpstream(ServerlessUpstreamSettings upstream); @@ -603,9 +589,9 @@ interface WithUpstream { /** The stage of the SignalRResource update allowing to specify networkACLs. */ interface WithNetworkACLs { /** - * Specifies the networkACLs property: Network ACLs. + * Specifies the networkACLs property: Network ACLs for the resource. * - * @param networkACLs Network ACLs. + * @param networkACLs Network ACLs for the resource. * @return the next definition stage. */ Update withNetworkACLs(SignalRNetworkACLs networkACLs); @@ -680,7 +666,7 @@ interface WithDisableAadAuth { * @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}. */ Response listKeysWithResponse(Context context); diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRSharedPrivateLinkResources.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRSharedPrivateLinkResources.java index 6a25e4623b2d4..f587d0889fb4f 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRSharedPrivateLinkResources.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRSharedPrivateLinkResources.java @@ -62,7 +62,7 @@ public interface SignalRSharedPrivateLinkResources { * @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}. */ Response getWithResponse( String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, Context context); @@ -101,7 +101,7 @@ Response 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 the specified shared private link resource. + * @return the specified shared private link resource along with {@link Response}. */ SharedPrivateLinkResource getById(String id); @@ -113,7 +113,7 @@ Response 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 the specified shared private link resource. + * @return the specified shared private link resource along with {@link Response}. */ Response getByIdWithResponse(String id, Context context); diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRs.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRs.java index 1d6825c774e65..556c9993d5527 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRs.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/SignalRs.java @@ -31,7 +31,7 @@ public interface SignalRs { * @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}. */ Response checkNameAvailabilityWithResponse( String location, NameAvailabilityParameters parameters, Context context); @@ -104,7 +104,7 @@ Response 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}. */ Response getByResourceGroupWithResponse( String resourceGroupName, String resourceName, Context context); @@ -157,7 +157,7 @@ Response 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 the access keys of the resource. + * @return the access keys of the resource along with {@link Response}. */ Response listKeysWithResponse(String resourceGroupName, String resourceName, Context context); @@ -239,7 +239,7 @@ SignalRKeys 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}. */ Response listSkusWithResponse(String resourceGroupName, String resourceName, Context context); @@ -250,7 +250,7 @@ SignalRKeys 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 resource and its properties. + * @return the resource and its properties along with {@link Response}. */ SignalRResource getById(String id); @@ -262,7 +262,7 @@ SignalRKeys 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 resource and its properties. + * @return the resource and its properties along with {@link Response}. */ Response getByIdWithResponse(String id, Context context); diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/Sku.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/Sku.java index 9f07763e5a26e..33a52c7a8f9c1 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/Sku.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/Sku.java @@ -21,13 +21,13 @@ public final class Sku { private String resourceType; /* - * The exact set of keys that define this sku. + * The billing information of the resource. */ @JsonProperty(value = "sku", access = JsonProperty.Access.WRITE_ONLY) private ResourceSku sku; /* - * Specifies the unit of the resource. + * Describes scaling information of a sku. */ @JsonProperty(value = "capacity", access = JsonProperty.Access.WRITE_ONLY) private SkuCapacity capacity; @@ -42,7 +42,7 @@ public String resourceType() { } /** - * Get the sku property: The exact set of keys that define this sku. + * Get the sku property: The billing information of the resource. * * @return the sku value. */ @@ -51,7 +51,7 @@ public ResourceSku sku() { } /** - * Get the capacity property: Specifies the unit of the resource. + * Get the capacity property: Describes scaling information of a sku. * * @return the capacity value. */ diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/UpstreamAuthSettings.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/UpstreamAuthSettings.java index 0ccdf1f3282ea..995344cde6a13 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/UpstreamAuthSettings.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/UpstreamAuthSettings.java @@ -9,26 +9,25 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -/** Upstream auth settings. */ +/** Upstream auth settings. If not set, no auth is used for upstream messages. */ @Fluent public final class UpstreamAuthSettings { @JsonIgnore private final ClientLogger logger = new ClientLogger(UpstreamAuthSettings.class); /* - * Gets or sets the type of auth. None or ManagedIdentity is supported now. + * Upstream auth type enum. */ @JsonProperty(value = "type") private UpstreamAuthType type; /* - * Gets or sets the managed identity settings. It's required if the auth - * type is set to ManagedIdentity. + * Managed identity settings for upstream. */ @JsonProperty(value = "managedIdentity") private ManagedIdentitySettings managedIdentity; /** - * Get the type property: Gets or sets the type of auth. None or ManagedIdentity is supported now. + * Get the type property: Upstream auth type enum. * * @return the type value. */ @@ -37,7 +36,7 @@ public UpstreamAuthType type() { } /** - * Set the type property: Gets or sets the type of auth. None or ManagedIdentity is supported now. + * Set the type property: Upstream auth type enum. * * @param type the type value to set. * @return the UpstreamAuthSettings object itself. @@ -48,8 +47,7 @@ public UpstreamAuthSettings withType(UpstreamAuthType type) { } /** - * Get the managedIdentity property: Gets or sets the managed identity settings. It's required if the auth type is - * set to ManagedIdentity. + * Get the managedIdentity property: Managed identity settings for upstream. * * @return the managedIdentity value. */ @@ -58,8 +56,7 @@ public ManagedIdentitySettings managedIdentity() { } /** - * Set the managedIdentity property: Gets or sets the managed identity settings. It's required if the auth type is - * set to ManagedIdentity. + * Set the managedIdentity property: Managed identity settings for upstream. * * @param managedIdentity the managedIdentity value to set. * @return the UpstreamAuthSettings object itself. diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/UpstreamTemplate.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/UpstreamTemplate.java index 9f2b8b5cdd72c..a7c6695f26327 100644 --- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/UpstreamTemplate.java +++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/models/UpstreamTemplate.java @@ -68,8 +68,8 @@ public final class UpstreamTemplate { private String urlTemplate; /* - * Gets or sets the auth settings for an upstream. If not set, no auth is - * used for upstream messages. + * Upstream auth settings. If not set, no auth is used for upstream + * messages. */ @JsonProperty(value = "auth") private UpstreamAuthSettings auth; @@ -177,8 +177,7 @@ public UpstreamTemplate withUrlTemplate(String urlTemplate) { } /** - * Get the auth property: Gets or sets the auth settings for an upstream. If not set, no auth is used for upstream - * messages. + * Get the auth property: Upstream auth settings. If not set, no auth is used for upstream messages. * * @return the auth value. */ @@ -187,8 +186,7 @@ public UpstreamAuthSettings auth() { } /** - * Set the auth property: Gets or sets the auth settings for an upstream. If not set, no auth is used for upstream - * messages. + * Set the auth property: Upstream auth settings. If not set, no auth is used for upstream messages. * * @param auth the auth value to set. * @return the UpstreamTemplate object itself.