net.bytebuddy
byte-buddy
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 a9a36fbc265b8..36a4e80d8faab 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
@@ -11,8 +11,8 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
-import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
@@ -30,6 +30,7 @@
import com.azure.resourcemanager.signalr.implementation.SignalRManagementClientBuilder;
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateLinkResourcesImpl;
+import com.azure.resourcemanager.signalr.implementation.SignalRReplicaSharedPrivateLinkResourcesImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRReplicasImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRSharedPrivateLinkResourcesImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRsImpl;
@@ -40,8 +41,9 @@
import com.azure.resourcemanager.signalr.models.SignalRPrivateEndpointConnections;
import com.azure.resourcemanager.signalr.models.SignalRPrivateLinkResources;
import com.azure.resourcemanager.signalr.models.SignalRReplicas;
-import com.azure.resourcemanager.signalr.models.SignalRSharedPrivateLinkResources;
+import com.azure.resourcemanager.signalr.models.SignalRReplicaSharedPrivateLinkResources;
import com.azure.resourcemanager.signalr.models.SignalRs;
+import com.azure.resourcemanager.signalr.models.SignalRSharedPrivateLinkResources;
import com.azure.resourcemanager.signalr.models.Usages;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
@@ -50,7 +52,10 @@
import java.util.Objects;
import java.util.stream.Collectors;
-/** Entry point to SignalRManager. REST API for Azure SignalR Service. */
+/**
+ * Entry point to SignalRManager.
+ * REST API for Azure SignalR Service.
+ */
public final class SignalRManager {
private Operations operations;
@@ -68,6 +73,8 @@ public final class SignalRManager {
private SignalRReplicas signalRReplicas;
+ private SignalRReplicaSharedPrivateLinkResources signalRReplicaSharedPrivateLinkResources;
+
private SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources;
private final SignalRManagementClient clientObject;
@@ -75,18 +82,16 @@ public final class SignalRManager {
private SignalRManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new SignalRManagementClientBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new SignalRManagementClientBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
}
/**
* Creates an instance of SignalR service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the SignalR service API instance.
@@ -99,7 +104,7 @@ public static SignalRManager authenticate(TokenCredential credential, AzureProfi
/**
* Creates an instance of SignalR service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the SignalR service API instance.
@@ -112,14 +117,16 @@ public static SignalRManager authenticate(HttpPipeline httpPipeline, AzureProfil
/**
* Gets a Configurable instance that can be used to create SignalRManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new SignalRManager.Configurable();
}
- /** The Configurable allowing configurations to be set. */
+ /**
+ * The Configurable allowing configurations to be set.
+ */
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
@@ -191,8 +198,8 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
/**
* Sets the retry options for the HTTP pipeline retry policy.
- *
- * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
*
* @param retryOptions the retry options for the HTTP pipeline retry policy.
* @return the configurable object itself.
@@ -209,8 +216,8 @@ public Configurable withRetryOptions(RetryOptions retryOptions) {
* @return the configurable object itself.
*/
public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval =
- Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
+ this.defaultPollInterval
+ = Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
if (this.defaultPollInterval.isNegative()) {
throw LOGGER
.logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
@@ -230,15 +237,13 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
+ userAgentBuilder.append("azsdk-java")
.append("-")
.append("com.azure.resourcemanager.signalr")
.append("/")
- .append("1.0.0-beta.8");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder
- .append(" (")
+ userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
.append("; ")
.append(Configuration.getGlobalConfiguration().get("os.name"))
@@ -263,38 +268,28 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
policies.add(new AddHeadersFromContextPolicy());
policies.add(new RequestIdPolicy());
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
- HttpPipeline httpPipeline =
- new HttpPipelineBuilder()
- .httpClient(httpClient)
- .policies(policies.toArray(new HttpPipelinePolicy[0]))
- .build();
+ HttpPipeline httpPipeline = new HttpPipelineBuilder().httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
return new SignalRManager(httpPipeline, profile, defaultPollInterval);
}
}
/**
* Gets the resource collection API of Operations.
- *
+ *
* @return Resource collection API of Operations.
*/
public Operations operations() {
@@ -306,7 +301,7 @@ public Operations operations() {
/**
* Gets the resource collection API of SignalRs. It manages SignalRResource.
- *
+ *
* @return Resource collection API of SignalRs.
*/
public SignalRs signalRs() {
@@ -318,7 +313,7 @@ public SignalRs signalRs() {
/**
* Gets the resource collection API of Usages.
- *
+ *
* @return Resource collection API of Usages.
*/
public Usages usages() {
@@ -330,20 +325,20 @@ public Usages usages() {
/**
* Gets the resource collection API of SignalRCustomCertificates. It manages CustomCertificate.
- *
+ *
* @return Resource collection API of SignalRCustomCertificates.
*/
public SignalRCustomCertificates signalRCustomCertificates() {
if (this.signalRCustomCertificates == null) {
- this.signalRCustomCertificates =
- new SignalRCustomCertificatesImpl(clientObject.getSignalRCustomCertificates(), this);
+ this.signalRCustomCertificates
+ = new SignalRCustomCertificatesImpl(clientObject.getSignalRCustomCertificates(), this);
}
return signalRCustomCertificates;
}
/**
* Gets the resource collection API of SignalRCustomDomains. It manages CustomDomain.
- *
+ *
* @return Resource collection API of SignalRCustomDomains.
*/
public SignalRCustomDomains signalRCustomDomains() {
@@ -355,33 +350,33 @@ public SignalRCustomDomains signalRCustomDomains() {
/**
* Gets the resource collection API of SignalRPrivateEndpointConnections.
- *
+ *
* @return Resource collection API of SignalRPrivateEndpointConnections.
*/
public SignalRPrivateEndpointConnections signalRPrivateEndpointConnections() {
if (this.signalRPrivateEndpointConnections == null) {
- this.signalRPrivateEndpointConnections =
- new SignalRPrivateEndpointConnectionsImpl(clientObject.getSignalRPrivateEndpointConnections(), this);
+ this.signalRPrivateEndpointConnections
+ = new SignalRPrivateEndpointConnectionsImpl(clientObject.getSignalRPrivateEndpointConnections(), this);
}
return signalRPrivateEndpointConnections;
}
/**
* Gets the resource collection API of SignalRPrivateLinkResources.
- *
+ *
* @return Resource collection API of SignalRPrivateLinkResources.
*/
public SignalRPrivateLinkResources signalRPrivateLinkResources() {
if (this.signalRPrivateLinkResources == null) {
- this.signalRPrivateLinkResources =
- new SignalRPrivateLinkResourcesImpl(clientObject.getSignalRPrivateLinkResources(), this);
+ this.signalRPrivateLinkResources
+ = new SignalRPrivateLinkResourcesImpl(clientObject.getSignalRPrivateLinkResources(), this);
}
return signalRPrivateLinkResources;
}
/**
* Gets the resource collection API of SignalRReplicas. It manages Replica.
- *
+ *
* @return Resource collection API of SignalRReplicas.
*/
public SignalRReplicas signalRReplicas() {
@@ -392,14 +387,28 @@ public SignalRReplicas signalRReplicas() {
}
/**
- * Gets the resource collection API of SignalRSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
- *
+ * Gets the resource collection API of SignalRReplicaSharedPrivateLinkResources. It manages
+ * SharedPrivateLinkResource.
+ *
+ * @return Resource collection API of SignalRReplicaSharedPrivateLinkResources.
+ */
+ public SignalRReplicaSharedPrivateLinkResources signalRReplicaSharedPrivateLinkResources() {
+ if (this.signalRReplicaSharedPrivateLinkResources == null) {
+ this.signalRReplicaSharedPrivateLinkResources = new SignalRReplicaSharedPrivateLinkResourcesImpl(
+ clientObject.getSignalRReplicaSharedPrivateLinkResources(), this);
+ }
+ return signalRReplicaSharedPrivateLinkResources;
+ }
+
+ /**
+ * Gets the resource collection API of SignalRSharedPrivateLinkResources.
+ *
* @return Resource collection API of SignalRSharedPrivateLinkResources.
*/
public SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources() {
if (this.signalRSharedPrivateLinkResources == null) {
- this.signalRSharedPrivateLinkResources =
- new SignalRSharedPrivateLinkResourcesImpl(clientObject.getSignalRSharedPrivateLinkResources(), this);
+ this.signalRSharedPrivateLinkResources
+ = new SignalRSharedPrivateLinkResourcesImpl(clientObject.getSignalRSharedPrivateLinkResources(), this);
}
return signalRSharedPrivateLinkResources;
}
@@ -407,7 +416,7 @@ public SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources() {
/**
* Gets wrapped service client SignalRManagementClient providing direct access to the underlying auto-generated API
* implementation, based on Azure REST API.
- *
+ *
* @return Wrapped service client SignalRManagementClient.
*/
public SignalRManagementClient serviceClient() {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/OperationsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/OperationsClient.java
index de7d5c12fab9f..93da3f8bcc59d 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/OperationsClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/OperationsClient.java
@@ -10,11 +10,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.signalr.fluent.models.OperationInner;
-/** An instance of this class provides access to all the operations defined in OperationsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in OperationsClient.
+ */
public interface OperationsClient {
/**
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- *
+ *
* @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 list REST API operations as paginated response with {@link PagedIterable}.
@@ -24,7 +26,7 @@ public interface OperationsClient {
/**
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
index e6ce1f38ebab2..9b6e94ddef261 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.signalr.fluent.models.CustomCertificateInner;
-/** An instance of this class provides access to all the operations defined in SignalRCustomCertificatesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SignalRCustomCertificatesClient.
+ */
public interface SignalRCustomCertificatesClient {
/**
* List all custom certificates.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -30,7 +32,7 @@ public interface SignalRCustomCertificatesClient {
/**
* List all custom certificates.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -44,7 +46,7 @@ public interface SignalRCustomCertificatesClient {
/**
* Get a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -55,12 +57,12 @@ public interface SignalRCustomCertificatesClient {
* @return a custom certificate along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String resourceName, String certificateName, Context context);
+ Response getWithResponse(String resourceGroupName, String resourceName,
+ String certificateName, Context context);
/**
* Get a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -74,7 +76,7 @@ Response getWithResponse(
/**
* Create or update a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -85,12 +87,12 @@ Response getWithResponse(
* @return the {@link SyncPoller} for polling of a custom certificate.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CustomCertificateInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters);
+ SyncPoller, CustomCertificateInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, String certificateName, CustomCertificateInner parameters);
/**
* Create or update a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -102,16 +104,12 @@ SyncPoller, CustomCertificateInner> beginCrea
* @return the {@link SyncPoller} for polling of a custom certificate.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CustomCertificateInner> beginCreateOrUpdate(
- String resourceGroupName,
- String resourceName,
- String certificateName,
- CustomCertificateInner parameters,
- Context context);
+ SyncPoller, CustomCertificateInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, String certificateName, CustomCertificateInner parameters, Context context);
/**
* Create or update a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -122,12 +120,12 @@ SyncPoller, CustomCertificateInner> beginCrea
* @return a custom certificate.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CustomCertificateInner createOrUpdate(
- String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters);
+ CustomCertificateInner createOrUpdate(String resourceGroupName, String resourceName, String certificateName,
+ CustomCertificateInner parameters);
/**
* Create or update a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -139,16 +137,12 @@ CustomCertificateInner createOrUpdate(
* @return a custom certificate.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CustomCertificateInner createOrUpdate(
- String resourceGroupName,
- String resourceName,
- String certificateName,
- CustomCertificateInner parameters,
- Context context);
+ CustomCertificateInner createOrUpdate(String resourceGroupName, String resourceName, String certificateName,
+ CustomCertificateInner parameters, Context context);
/**
* Delete a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -159,12 +153,12 @@ CustomCertificateInner createOrUpdate(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String resourceName, String certificateName, Context context);
+ Response deleteWithResponse(String resourceGroupName, String resourceName, String certificateName,
+ Context context);
/**
* Delete a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
index 3c55fb7f05dd7..55876f0fc5c85 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.signalr.fluent.models.CustomDomainInner;
-/** An instance of this class provides access to all the operations defined in SignalRCustomDomainsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SignalRCustomDomainsClient.
+ */
public interface SignalRCustomDomainsClient {
/**
* List all custom domains.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -30,7 +32,7 @@ public interface SignalRCustomDomainsClient {
/**
* List all custom domains.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -44,7 +46,7 @@ public interface SignalRCustomDomainsClient {
/**
* Get a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -55,12 +57,12 @@ public interface SignalRCustomDomainsClient {
* @return a custom domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String resourceName, String name, Context context);
+ Response getWithResponse(String resourceGroupName, String resourceName, String name,
+ Context context);
/**
* Get a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -74,7 +76,7 @@ Response getWithResponse(
/**
* Create or update a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -85,12 +87,12 @@ Response getWithResponse(
* @return the {@link SyncPoller} for polling of a custom domain.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CustomDomainInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, String name, CustomDomainInner parameters);
+ SyncPoller, CustomDomainInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, String name, CustomDomainInner parameters);
/**
* Create or update a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -102,12 +104,12 @@ SyncPoller, CustomDomainInner> beginCreateOrUpdate
* @return the {@link SyncPoller} for polling of a custom domain.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CustomDomainInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, String name, CustomDomainInner parameters, Context context);
+ SyncPoller, CustomDomainInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, String name, CustomDomainInner parameters, Context context);
/**
* Create or update a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -118,12 +120,12 @@ SyncPoller, CustomDomainInner> beginCreateOrUpdate
* @return a custom domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CustomDomainInner createOrUpdate(
- String resourceGroupName, String resourceName, String name, CustomDomainInner parameters);
+ CustomDomainInner createOrUpdate(String resourceGroupName, String resourceName, String name,
+ CustomDomainInner parameters);
/**
* Create or update a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -135,12 +137,12 @@ CustomDomainInner createOrUpdate(
* @return a custom domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CustomDomainInner createOrUpdate(
- String resourceGroupName, String resourceName, String name, CustomDomainInner parameters, Context context);
+ CustomDomainInner createOrUpdate(String resourceGroupName, String resourceName, String name,
+ CustomDomainInner parameters, Context context);
/**
* Delete a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -154,7 +156,7 @@ CustomDomainInner createOrUpdate(
/**
* Delete a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -165,12 +167,12 @@ CustomDomainInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String resourceName, String name, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName, String name,
+ Context context);
/**
* Delete a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
@@ -183,7 +185,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete a custom domain.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java
index faa9060e3bf69..5ea0e14e408e6 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java
@@ -7,102 +7,111 @@
import com.azure.core.http.HttpPipeline;
import java.time.Duration;
-/** The interface for SignalRManagementClient class. */
+/**
+ * The interface for SignalRManagementClient class.
+ */
public interface SignalRManagementClient {
/**
* Gets The ID of the target subscription. The value must be an UUID.
- *
+ *
* @return the subscriptionId value.
*/
String getSubscriptionId();
/**
* Gets server parameter.
- *
+ *
* @return the endpoint value.
*/
String getEndpoint();
/**
* Gets Api Version.
- *
+ *
* @return the apiVersion value.
*/
String getApiVersion();
/**
* Gets The HTTP pipeline to send requests through.
- *
+ *
* @return the httpPipeline value.
*/
HttpPipeline getHttpPipeline();
/**
* Gets The default poll interval for long-running operation.
- *
+ *
* @return the defaultPollInterval value.
*/
Duration getDefaultPollInterval();
/**
* Gets the OperationsClient object to access its operations.
- *
+ *
* @return the OperationsClient object.
*/
OperationsClient getOperations();
/**
* Gets the SignalRsClient object to access its operations.
- *
+ *
* @return the SignalRsClient object.
*/
SignalRsClient getSignalRs();
/**
* Gets the UsagesClient object to access its operations.
- *
+ *
* @return the UsagesClient object.
*/
UsagesClient getUsages();
/**
* Gets the SignalRCustomCertificatesClient object to access its operations.
- *
+ *
* @return the SignalRCustomCertificatesClient object.
*/
SignalRCustomCertificatesClient getSignalRCustomCertificates();
/**
* Gets the SignalRCustomDomainsClient object to access its operations.
- *
+ *
* @return the SignalRCustomDomainsClient object.
*/
SignalRCustomDomainsClient getSignalRCustomDomains();
/**
* Gets the SignalRPrivateEndpointConnectionsClient object to access its operations.
- *
+ *
* @return the SignalRPrivateEndpointConnectionsClient object.
*/
SignalRPrivateEndpointConnectionsClient getSignalRPrivateEndpointConnections();
/**
* Gets the SignalRPrivateLinkResourcesClient object to access its operations.
- *
+ *
* @return the SignalRPrivateLinkResourcesClient object.
*/
SignalRPrivateLinkResourcesClient getSignalRPrivateLinkResources();
/**
* Gets the SignalRReplicasClient object to access its operations.
- *
+ *
* @return the SignalRReplicasClient object.
*/
SignalRReplicasClient getSignalRReplicas();
+ /**
+ * Gets the SignalRReplicaSharedPrivateLinkResourcesClient object to access its operations.
+ *
+ * @return the SignalRReplicaSharedPrivateLinkResourcesClient object.
+ */
+ SignalRReplicaSharedPrivateLinkResourcesClient getSignalRReplicaSharedPrivateLinkResources();
+
/**
* Gets the SignalRSharedPrivateLinkResourcesClient object to access its operations.
- *
+ *
* @return the SignalRSharedPrivateLinkResourcesClient object.
*/
SignalRSharedPrivateLinkResourcesClient getSignalRSharedPrivateLinkResources();
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 c0d48b62cf879..dc0f9b29f50d1 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
@@ -19,7 +19,7 @@
public interface SignalRPrivateEndpointConnectionsClient {
/**
* List private endpoint connections.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -32,7 +32,7 @@ public interface SignalRPrivateEndpointConnectionsClient {
/**
* List private endpoint connections.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -46,9 +46,9 @@ public interface SignalRPrivateEndpointConnectionsClient {
/**
* Get the specified private endpoint connection.
- *
+ *
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
+ * resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -58,14 +58,14 @@ public interface SignalRPrivateEndpointConnectionsClient {
* @return the specified private endpoint connection along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context);
+ Response getWithResponse(String privateEndpointConnectionName,
+ String resourceGroupName, String resourceName, Context context);
/**
* Get the specified private endpoint connection.
- *
+ *
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
+ * resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -74,14 +74,14 @@ Response getWithResponse(
* @return the specified private endpoint connection.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner get(
- String privateEndpointConnectionName, String resourceGroupName, String resourceName);
+ PrivateEndpointConnectionInner get(String privateEndpointConnectionName, String resourceGroupName,
+ String resourceName);
/**
* Update the state of specified private endpoint connection.
- *
+ *
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
+ * resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
@@ -92,18 +92,14 @@ PrivateEndpointConnectionInner get(
* @return a private endpoint connection to an azure resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String privateEndpointConnectionName,
- String resourceGroupName,
- String resourceName,
- PrivateEndpointConnectionInner parameters,
- Context context);
+ Response updateWithResponse(String privateEndpointConnectionName,
+ String resourceGroupName, String resourceName, PrivateEndpointConnectionInner parameters, Context context);
/**
* Update the state of specified private endpoint connection.
- *
+ *
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
+ * resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
@@ -113,17 +109,14 @@ Response updateWithResponse(
* @return a private endpoint connection to an azure resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner update(
- String privateEndpointConnectionName,
- String resourceGroupName,
- String resourceName,
- PrivateEndpointConnectionInner parameters);
+ PrivateEndpointConnectionInner update(String privateEndpointConnectionName, String resourceGroupName,
+ String resourceName, PrivateEndpointConnectionInner parameters);
/**
* Delete the specified private endpoint connection.
- *
+ *
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
+ * resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -132,14 +125,14 @@ PrivateEndpointConnectionInner update(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String privateEndpointConnectionName, String resourceGroupName, String resourceName);
+ SyncPoller, Void> beginDelete(String privateEndpointConnectionName, String resourceGroupName,
+ String resourceName);
/**
* Delete the specified private endpoint connection.
- *
+ *
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
+ * resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -149,14 +142,14 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context);
+ SyncPoller, Void> beginDelete(String privateEndpointConnectionName, String resourceGroupName,
+ String resourceName, Context context);
/**
* Delete the specified private endpoint connection.
- *
+ *
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
+ * resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -168,9 +161,9 @@ SyncPoller, Void> beginDelete(
/**
* Delete the specified private endpoint connection.
- *
+ *
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
+ * resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateLinkResourcesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateLinkResourcesClient.java
index 5720aed2289ab..91e329a2b9aad 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateLinkResourcesClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateLinkResourcesClient.java
@@ -10,33 +10,35 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.signalr.fluent.models.PrivateLinkResourceInner;
-/** An instance of this class provides access to all the operations defined in SignalRPrivateLinkResourcesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SignalRPrivateLinkResourcesClient.
+ */
public interface SignalRPrivateLinkResourcesClient {
/**
* Get the private link resources that need to be created for a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @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 private link resources that need to be created for a resource as paginated response with {@link
- * PagedIterable}.
+ * @return the private link resources that need to be created for a resource as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String resourceName);
/**
* Get the private link resources that need to be created for a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the private link resources that need to be created for a resource as paginated response with {@link
- * PagedIterable}.
+ * @return the private link resources that need to be created for a resource as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String resourceName, Context context);
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicaSharedPrivateLinkResourcesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicaSharedPrivateLinkResourcesClient.java
new file mode 100644
index 0000000000000..4caf305303a1c
--- /dev/null
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicaSharedPrivateLinkResourcesClient.java
@@ -0,0 +1,156 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.signalr.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.signalr.fluent.models.SharedPrivateLinkResourceInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * SignalRReplicaSharedPrivateLinkResourcesClient.
+ */
+public interface SignalRReplicaSharedPrivateLinkResourcesClient {
+ /**
+ * List shared private link resources.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @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 list of shared private link resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String resourceName,
+ String replicaName);
+
+ /**
+ * List shared private link resources.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of shared private link resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String resourceName,
+ String replicaName, Context context);
+
+ /**
+ * Get the specified shared private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the specified shared private link resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String resourceName,
+ String replicaName, String sharedPrivateLinkResourceName, Context context);
+
+ /**
+ * Get the specified shared private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SharedPrivateLinkResourceInner get(String resourceGroupName, String resourceName, String replicaName,
+ String sharedPrivateLinkResourceName);
+
+ /**
+ * Create or update a shared private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource.
+ * @param parameters The shared private link resource.
+ * @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 {@link SyncPoller} for polling of describes a Shared Private Link Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SharedPrivateLinkResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String resourceName, String replicaName, String sharedPrivateLinkResourceName,
+ SharedPrivateLinkResourceInner parameters);
+
+ /**
+ * Create or update a shared private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource.
+ * @param parameters The shared private link resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of describes a Shared Private Link Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SharedPrivateLinkResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String resourceName, String replicaName, String sharedPrivateLinkResourceName,
+ SharedPrivateLinkResourceInner parameters, Context context);
+
+ /**
+ * Create or update a shared private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource.
+ * @param parameters The shared private link resource.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SharedPrivateLinkResourceInner createOrUpdate(String resourceGroupName, String resourceName, String replicaName,
+ String sharedPrivateLinkResourceName, SharedPrivateLinkResourceInner parameters);
+
+ /**
+ * Create or update a shared private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource.
+ * @param parameters The shared private link resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return describes a Shared Private Link Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SharedPrivateLinkResourceInner createOrUpdate(String resourceGroupName, String resourceName, String replicaName,
+ String sharedPrivateLinkResourceName, SharedPrivateLinkResourceInner parameters, Context context);
+}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicasClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicasClient.java
index c5e89dac3f945..b50bb4ebb9988 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicasClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicasClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.signalr.fluent.models.ReplicaInner;
-/** An instance of this class provides access to all the operations defined in SignalRReplicasClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SignalRReplicasClient.
+ */
public interface SignalRReplicasClient {
/**
* List all replicas belong to this resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -30,7 +32,7 @@ public interface SignalRReplicasClient {
/**
* List all replicas belong to this resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -44,7 +46,7 @@ public interface SignalRReplicasClient {
/**
* Get the replica and its properties.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -55,12 +57,12 @@ public interface SignalRReplicasClient {
* @return the replica and its properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String resourceName, String replicaName, Context context);
+ Response getWithResponse(String resourceGroupName, String resourceName, String replicaName,
+ Context context);
/**
* Get the replica and its properties.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -74,7 +76,7 @@ Response getWithResponse(
/**
* Create or update a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -85,12 +87,12 @@ Response getWithResponse(
* @return the {@link SyncPoller} for polling of a class represent a replica resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ReplicaInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters);
+ SyncPoller, ReplicaInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, String replicaName, ReplicaInner parameters);
/**
* Create or update a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -102,12 +104,12 @@ SyncPoller, ReplicaInner> beginCreateOrUpdate(
* @return the {@link SyncPoller} for polling of a class represent a replica resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ReplicaInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters, Context context);
+ SyncPoller, ReplicaInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, String replicaName, ReplicaInner parameters, Context context);
/**
* Create or update a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -118,12 +120,12 @@ SyncPoller, ReplicaInner> beginCreateOrUpdate(
* @return a class represent a replica resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner createOrUpdate(
- String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters);
+ ReplicaInner createOrUpdate(String resourceGroupName, String resourceName, String replicaName,
+ ReplicaInner parameters);
/**
* Create or update a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -135,12 +137,12 @@ ReplicaInner createOrUpdate(
* @return a class represent a replica resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner createOrUpdate(
- String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters, Context context);
+ ReplicaInner createOrUpdate(String resourceGroupName, String resourceName, String replicaName,
+ ReplicaInner parameters, Context context);
/**
* Operation to delete a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -151,12 +153,12 @@ ReplicaInner createOrUpdate(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String resourceName, String replicaName, Context context);
+ Response deleteWithResponse(String resourceGroupName, String resourceName, String replicaName,
+ Context context);
/**
* Operation to delete a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -169,7 +171,7 @@ Response deleteWithResponse(
/**
* Operation to update an exiting replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -180,12 +182,12 @@ Response deleteWithResponse(
* @return the {@link SyncPoller} for polling of a class represent a replica resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ReplicaInner> beginUpdate(
- String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters);
+ SyncPoller, ReplicaInner> beginUpdate(String resourceGroupName, String resourceName,
+ String replicaName, ReplicaInner parameters);
/**
* Operation to update an exiting replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -197,12 +199,12 @@ SyncPoller, ReplicaInner> beginUpdate(
* @return the {@link SyncPoller} for polling of a class represent a replica resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ReplicaInner> beginUpdate(
- String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters, Context context);
+ SyncPoller, ReplicaInner> beginUpdate(String resourceGroupName, String resourceName,
+ String replicaName, ReplicaInner parameters, Context context);
/**
* Operation to update an exiting replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -217,7 +219,7 @@ SyncPoller, ReplicaInner> beginUpdate(
/**
* Operation to update an exiting replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -229,12 +231,12 @@ SyncPoller, ReplicaInner> beginUpdate(
* @return a class represent a replica resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner update(
- String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters, Context context);
+ ReplicaInner update(String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters,
+ Context context);
/**
* Operation to restart a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -248,7 +250,7 @@ ReplicaInner update(
/**
* Operation to restart a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -259,12 +261,12 @@ ReplicaInner update(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRestart(
- String resourceGroupName, String resourceName, String replicaName, Context context);
+ SyncPoller, Void> beginRestart(String resourceGroupName, String resourceName, String replicaName,
+ Context context);
/**
* Operation to restart a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -277,7 +279,7 @@ SyncPoller, Void> beginRestart(
/**
* Operation to restart a replica.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
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 c11bae9e0a0bf..56b4e49efbb15 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
@@ -19,7 +19,7 @@
public interface SignalRSharedPrivateLinkResourcesClient {
/**
* List shared private link resources.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -32,7 +32,7 @@ public interface SignalRSharedPrivateLinkResourcesClient {
/**
* List shared private link resources.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -46,7 +46,7 @@ public interface SignalRSharedPrivateLinkResourcesClient {
/**
* Get the specified shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -57,12 +57,12 @@ public interface SignalRSharedPrivateLinkResourcesClient {
* @return the specified shared private link resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, Context context);
+ Response getWithResponse(String sharedPrivateLinkResourceName,
+ String resourceGroupName, String resourceName, Context context);
/**
* Get the specified shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -72,12 +72,12 @@ Response getWithResponse(
* @return the specified shared private link resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SharedPrivateLinkResourceInner get(
- String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName);
+ SharedPrivateLinkResourceInner get(String sharedPrivateLinkResourceName, String resourceGroupName,
+ String resourceName);
/**
* Create or update a shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -89,14 +89,12 @@ SharedPrivateLinkResourceInner get(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SharedPrivateLinkResourceInner> beginCreateOrUpdate(
- String sharedPrivateLinkResourceName,
- String resourceGroupName,
- String resourceName,
+ String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName,
SharedPrivateLinkResourceInner parameters);
/**
* Create or update a shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -109,15 +107,12 @@ SyncPoller, SharedPrivateLinkResource
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SharedPrivateLinkResourceInner> beginCreateOrUpdate(
- String sharedPrivateLinkResourceName,
- String resourceGroupName,
- String resourceName,
- SharedPrivateLinkResourceInner parameters,
- Context context);
+ String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName,
+ SharedPrivateLinkResourceInner parameters, Context context);
/**
* Create or update a shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -128,15 +123,12 @@ SyncPoller, SharedPrivateLinkResource
* @return describes a Shared Private Link Resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SharedPrivateLinkResourceInner createOrUpdate(
- String sharedPrivateLinkResourceName,
- String resourceGroupName,
- String resourceName,
- SharedPrivateLinkResourceInner parameters);
+ SharedPrivateLinkResourceInner createOrUpdate(String sharedPrivateLinkResourceName, String resourceGroupName,
+ String resourceName, SharedPrivateLinkResourceInner parameters);
/**
* Create or update a shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -148,16 +140,12 @@ SharedPrivateLinkResourceInner createOrUpdate(
* @return describes a Shared Private Link Resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SharedPrivateLinkResourceInner createOrUpdate(
- String sharedPrivateLinkResourceName,
- String resourceGroupName,
- String resourceName,
- SharedPrivateLinkResourceInner parameters,
- Context context);
+ SharedPrivateLinkResourceInner createOrUpdate(String sharedPrivateLinkResourceName, String resourceGroupName,
+ String resourceName, SharedPrivateLinkResourceInner parameters, Context context);
/**
* Delete the specified shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -167,12 +155,12 @@ SharedPrivateLinkResourceInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName);
+ SyncPoller, Void> beginDelete(String sharedPrivateLinkResourceName, String resourceGroupName,
+ String resourceName);
/**
* Delete the specified shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -183,12 +171,12 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, Context context);
+ SyncPoller, Void> beginDelete(String sharedPrivateLinkResourceName, String resourceGroupName,
+ String resourceName, Context context);
/**
* Delete the specified shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -201,7 +189,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete the specified shared private link resource.
- *
+ *
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
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 b6556ca52c4c3..ead92a1b8c071 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
@@ -18,11 +18,13 @@
import com.azure.resourcemanager.signalr.models.NameAvailabilityParameters;
import com.azure.resourcemanager.signalr.models.RegenerateKeyParameters;
-/** An instance of this class provides access to all the operations defined in SignalRsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SignalRsClient.
+ */
public interface SignalRsClient {
/**
* Checks that the resource name is valid and is not already in use.
- *
+ *
* @param location the region.
* @param parameters Parameters supplied to the operation.
* @param context The context to associate with this operation.
@@ -32,12 +34,12 @@ public interface SignalRsClient {
* @return result of the request to check name availability along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkNameAvailabilityWithResponse(
- String location, NameAvailabilityParameters parameters, Context context);
+ Response checkNameAvailabilityWithResponse(String location,
+ NameAvailabilityParameters parameters, Context context);
/**
* Checks that the resource name is valid and is not already in use.
- *
+ *
* @param location the region.
* @param parameters Parameters supplied to the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -50,58 +52,58 @@ Response checkNameAvailabilityWithResponse(
/**
* Handles requests to list all resources in a subscription.
- *
+ *
* @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 object that includes an array of resources and a possible link for next set as paginated response with
- * {@link PagedIterable}.
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* Handles requests to list all resources in a subscription.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return object that includes an array of resources and a possible link for next set as paginated response with
- * {@link PagedIterable}.
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
/**
* Handles requests to list all resources in a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 object that includes an array of resources and a possible link for next set as paginated response with
- * {@link PagedIterable}.
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
* Handles requests to list all resources in a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return object that includes an array of resources and a possible link for next set as paginated response with
- * {@link PagedIterable}.
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
* Get the resource and its properties.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -111,12 +113,12 @@ Response checkNameAvailabilityWithResponse(
* @return the resource and its properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String resourceName, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName, String resourceName,
+ Context context);
/**
* Get the resource and its properties.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -129,7 +131,7 @@ Response getByResourceGroupWithResponse(
/**
* Create or update a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
@@ -139,12 +141,12 @@ Response getByResourceGroupWithResponse(
* @return the {@link SyncPoller} for polling of a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SignalRResourceInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, SignalRResourceInner parameters);
+ SyncPoller, SignalRResourceInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, SignalRResourceInner parameters);
/**
* Create or update a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
@@ -155,12 +157,12 @@ SyncPoller, SignalRResourceInner> beginCreateOr
* @return the {@link SyncPoller} for polling of a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SignalRResourceInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, SignalRResourceInner parameters, Context context);
+ SyncPoller, SignalRResourceInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, SignalRResourceInner parameters, Context context);
/**
* Create or update a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
@@ -174,7 +176,7 @@ SyncPoller, SignalRResourceInner> beginCreateOr
/**
* Create or update a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
@@ -185,12 +187,12 @@ SyncPoller, SignalRResourceInner> beginCreateOr
* @return a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SignalRResourceInner createOrUpdate(
- String resourceGroupName, String resourceName, SignalRResourceInner parameters, Context context);
+ SignalRResourceInner createOrUpdate(String resourceGroupName, String resourceName, SignalRResourceInner parameters,
+ Context context);
/**
* Operation to delete a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -203,7 +205,7 @@ SignalRResourceInner createOrUpdate(
/**
* Operation to delete a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -217,7 +219,7 @@ SignalRResourceInner createOrUpdate(
/**
* Operation to delete a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -229,7 +231,7 @@ SignalRResourceInner createOrUpdate(
/**
* Operation to delete a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -242,7 +244,7 @@ SignalRResourceInner createOrUpdate(
/**
* Operation to update an exiting resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the update operation.
@@ -252,12 +254,12 @@ SignalRResourceInner createOrUpdate(
* @return the {@link SyncPoller} for polling of a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SignalRResourceInner> beginUpdate(
- String resourceGroupName, String resourceName, SignalRResourceInner parameters);
+ SyncPoller, SignalRResourceInner> beginUpdate(String resourceGroupName,
+ String resourceName, SignalRResourceInner parameters);
/**
* Operation to update an exiting resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the update operation.
@@ -268,12 +270,12 @@ SyncPoller, SignalRResourceInner> beginUpdate(
* @return the {@link SyncPoller} for polling of a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SignalRResourceInner> beginUpdate(
- String resourceGroupName, String resourceName, SignalRResourceInner parameters, Context context);
+ SyncPoller, SignalRResourceInner> beginUpdate(String resourceGroupName,
+ String resourceName, SignalRResourceInner parameters, Context context);
/**
* Operation to update an exiting resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the update operation.
@@ -287,7 +289,7 @@ SyncPoller, SignalRResourceInner> beginUpdate(
/**
* Operation to update an exiting resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the update operation.
@@ -298,12 +300,12 @@ SyncPoller, SignalRResourceInner> beginUpdate(
* @return a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SignalRResourceInner update(
- String resourceGroupName, String resourceName, SignalRResourceInner parameters, Context context);
+ SignalRResourceInner update(String resourceGroupName, String resourceName, SignalRResourceInner parameters,
+ Context context);
/**
* Get the access keys of the resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -317,7 +319,7 @@ SignalRResourceInner update(
/**
* Get the access keys of the resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -330,7 +332,7 @@ SignalRResourceInner update(
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameter that describes the Regenerate Key Operation.
@@ -340,12 +342,12 @@ SignalRResourceInner update(
* @return the {@link SyncPoller} for polling of a class represents the access keys of the resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SignalRKeysInner> beginRegenerateKey(
- String resourceGroupName, String resourceName, RegenerateKeyParameters parameters);
+ SyncPoller, SignalRKeysInner> beginRegenerateKey(String resourceGroupName,
+ String resourceName, RegenerateKeyParameters parameters);
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameter that describes the Regenerate Key Operation.
@@ -356,12 +358,12 @@ SyncPoller, SignalRKeysInner> beginRegenerateKey(
* @return the {@link SyncPoller} for polling of a class represents the access keys of the resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SignalRKeysInner> beginRegenerateKey(
- String resourceGroupName, String resourceName, RegenerateKeyParameters parameters, Context context);
+ SyncPoller, SignalRKeysInner> beginRegenerateKey(String resourceGroupName,
+ String resourceName, RegenerateKeyParameters parameters, Context context);
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameter that describes the Regenerate Key Operation.
@@ -375,7 +377,7 @@ SyncPoller, SignalRKeysInner> beginRegenerateKey(
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameter that describes the Regenerate Key Operation.
@@ -386,12 +388,12 @@ SyncPoller, SignalRKeysInner> beginRegenerateKey(
* @return a class represents the access keys of the resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SignalRKeysInner regenerateKey(
- String resourceGroupName, String resourceName, RegenerateKeyParameters parameters, Context context);
+ SignalRKeysInner regenerateKey(String resourceGroupName, String resourceName, RegenerateKeyParameters parameters,
+ Context context);
/**
* List all available skus of the replica resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -402,12 +404,12 @@ SignalRKeysInner regenerateKey(
* @return the list skus operation response along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listReplicaSkusWithResponse(
- String resourceGroupName, String resourceName, String replicaName, Context context);
+ Response listReplicaSkusWithResponse(String resourceGroupName, String resourceName,
+ String replicaName, Context context);
/**
* List all available skus of the replica resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param replicaName The name of the replica.
@@ -421,7 +423,7 @@ Response listReplicaSkusWithResponse(
/**
* Operation to restart a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -434,7 +436,7 @@ Response listReplicaSkusWithResponse(
/**
* Operation to restart a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -448,7 +450,7 @@ Response listReplicaSkusWithResponse(
/**
* Operation to restart a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -460,7 +462,7 @@ Response listReplicaSkusWithResponse(
/**
* Operation to restart a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -473,7 +475,7 @@ Response listReplicaSkusWithResponse(
/**
* List all available skus of the resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -487,7 +489,7 @@ Response listReplicaSkusWithResponse(
/**
* List all available skus of the resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/UsagesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/UsagesClient.java
index a336c0857d109..b09868531a9b6 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/UsagesClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/UsagesClient.java
@@ -10,31 +10,33 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.signalr.fluent.models.SignalRUsageInner;
-/** An instance of this class provides access to all the operations defined in UsagesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in UsagesClient.
+ */
public interface UsagesClient {
/**
* List resource usage quotas by location.
- *
+ *
* @param location the location like "eastus".
* @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 object that includes an array of the resource usages and a possible link for next set as paginated
- * response with {@link PagedIterable}.
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String location);
/**
* List resource usage quotas by location.
- *
+ *
* @param location the location like "eastus".
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return object that includes an array of the resource usages and a possible link for next set as paginated
- * response with {@link PagedIterable}.
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String location, Context context);
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
index 40f8858b99e4c..e8b30cadcfd6a 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
@@ -11,7 +11,9 @@
import com.azure.resourcemanager.signalr.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A custom certificate. */
+/**
+ * A custom certificate.
+ */
@Fluent
public final class CustomCertificateInner extends ProxyResource {
/*
@@ -26,13 +28,15 @@ public final class CustomCertificateInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of CustomCertificateInner class. */
+ /**
+ * Creates an instance of CustomCertificateInner class.
+ */
public CustomCertificateInner() {
}
/**
* Get the innerProperties property: Custom certificate properties.
- *
+ *
* @return the innerProperties value.
*/
private CustomCertificateProperties innerProperties() {
@@ -41,7 +45,7 @@ private CustomCertificateProperties innerProperties() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -50,7 +54,7 @@ public SystemData systemData() {
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -59,7 +63,7 @@ public ProvisioningState provisioningState() {
/**
* Get the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.
- *
+ *
* @return the keyVaultBaseUri value.
*/
public String keyVaultBaseUri() {
@@ -68,7 +72,7 @@ public String keyVaultBaseUri() {
/**
* Set the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.
- *
+ *
* @param keyVaultBaseUri the keyVaultBaseUri value to set.
* @return the CustomCertificateInner object itself.
*/
@@ -82,7 +86,7 @@ public CustomCertificateInner withKeyVaultBaseUri(String keyVaultBaseUri) {
/**
* Get the keyVaultSecretName property: Certificate secret name.
- *
+ *
* @return the keyVaultSecretName value.
*/
public String keyVaultSecretName() {
@@ -91,7 +95,7 @@ public String keyVaultSecretName() {
/**
* Set the keyVaultSecretName property: Certificate secret name.
- *
+ *
* @param keyVaultSecretName the keyVaultSecretName value to set.
* @return the CustomCertificateInner object itself.
*/
@@ -105,7 +109,7 @@ public CustomCertificateInner withKeyVaultSecretName(String keyVaultSecretName)
/**
* Get the keyVaultSecretVersion property: Certificate secret version.
- *
+ *
* @return the keyVaultSecretVersion value.
*/
public String keyVaultSecretVersion() {
@@ -114,7 +118,7 @@ public String keyVaultSecretVersion() {
/**
* Set the keyVaultSecretVersion property: Certificate secret version.
- *
+ *
* @param keyVaultSecretVersion the keyVaultSecretVersion value to set.
* @return the CustomCertificateInner object itself.
*/
@@ -128,15 +132,14 @@ public CustomCertificateInner withKeyVaultSecretVersion(String keyVaultSecretVer
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (innerProperties() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property innerProperties in model CustomCertificateInner"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property innerProperties in model CustomCertificateInner"));
} else {
innerProperties().validate();
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateProperties.java
index 02115f0021668..7f528e75da61a 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateProperties.java
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.signalr.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Custom certificate properties. */
+/**
+ * Custom certificate properties.
+ */
@Fluent
public final class CustomCertificateProperties {
/*
@@ -36,13 +38,15 @@ public final class CustomCertificateProperties {
@JsonProperty(value = "keyVaultSecretVersion")
private String keyVaultSecretVersion;
- /** Creates an instance of CustomCertificateProperties class. */
+ /**
+ * Creates an instance of CustomCertificateProperties class.
+ */
public CustomCertificateProperties() {
}
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -51,7 +55,7 @@ public ProvisioningState provisioningState() {
/**
* Get the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.
- *
+ *
* @return the keyVaultBaseUri value.
*/
public String keyVaultBaseUri() {
@@ -60,7 +64,7 @@ public String keyVaultBaseUri() {
/**
* Set the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.
- *
+ *
* @param keyVaultBaseUri the keyVaultBaseUri value to set.
* @return the CustomCertificateProperties object itself.
*/
@@ -71,7 +75,7 @@ public CustomCertificateProperties withKeyVaultBaseUri(String keyVaultBaseUri) {
/**
* Get the keyVaultSecretName property: Certificate secret name.
- *
+ *
* @return the keyVaultSecretName value.
*/
public String keyVaultSecretName() {
@@ -80,7 +84,7 @@ public String keyVaultSecretName() {
/**
* Set the keyVaultSecretName property: Certificate secret name.
- *
+ *
* @param keyVaultSecretName the keyVaultSecretName value to set.
* @return the CustomCertificateProperties object itself.
*/
@@ -91,7 +95,7 @@ public CustomCertificateProperties withKeyVaultSecretName(String keyVaultSecretN
/**
* Get the keyVaultSecretVersion property: Certificate secret version.
- *
+ *
* @return the keyVaultSecretVersion value.
*/
public String keyVaultSecretVersion() {
@@ -100,7 +104,7 @@ public String keyVaultSecretVersion() {
/**
* Set the keyVaultSecretVersion property: Certificate secret version.
- *
+ *
* @param keyVaultSecretVersion the keyVaultSecretVersion value to set.
* @return the CustomCertificateProperties object itself.
*/
@@ -111,21 +115,19 @@ public CustomCertificateProperties withKeyVaultSecretVersion(String keyVaultSecr
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (keyVaultBaseUri() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property keyVaultBaseUri in model CustomCertificateProperties"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property keyVaultBaseUri in model CustomCertificateProperties"));
}
if (keyVaultSecretName() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property keyVaultSecretName in model CustomCertificateProperties"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property keyVaultSecretName in model CustomCertificateProperties"));
}
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
index d93a40b224591..27034a08b07dd 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
@@ -12,7 +12,9 @@
import com.azure.resourcemanager.signalr.models.ResourceReference;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A custom domain. */
+/**
+ * A custom domain.
+ */
@Fluent
public final class CustomDomainInner extends ProxyResource {
/*
@@ -27,13 +29,15 @@ public final class CustomDomainInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of CustomDomainInner class. */
+ /**
+ * Creates an instance of CustomDomainInner class.
+ */
public CustomDomainInner() {
}
/**
* Get the innerProperties property: Properties of a custom domain.
- *
+ *
* @return the innerProperties value.
*/
private CustomDomainProperties innerProperties() {
@@ -42,7 +46,7 @@ private CustomDomainProperties innerProperties() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -51,7 +55,7 @@ public SystemData systemData() {
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -60,7 +64,7 @@ public ProvisioningState provisioningState() {
/**
* Get the domainName property: The custom domain name.
- *
+ *
* @return the domainName value.
*/
public String domainName() {
@@ -69,7 +73,7 @@ public String domainName() {
/**
* Set the domainName property: The custom domain name.
- *
+ *
* @param domainName the domainName value to set.
* @return the CustomDomainInner object itself.
*/
@@ -83,7 +87,7 @@ public CustomDomainInner withDomainName(String domainName) {
/**
* Get the customCertificate property: Reference to a resource.
- *
+ *
* @return the customCertificate value.
*/
public ResourceReference customCertificate() {
@@ -92,7 +96,7 @@ public ResourceReference customCertificate() {
/**
* Set the customCertificate property: Reference to a resource.
- *
+ *
* @param customCertificate the customCertificate value to set.
* @return the CustomDomainInner object itself.
*/
@@ -106,15 +110,14 @@ public CustomDomainInner withCustomCertificate(ResourceReference customCertifica
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (innerProperties() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property innerProperties in model CustomDomainInner"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property innerProperties in model CustomDomainInner"));
} else {
innerProperties().validate();
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainProperties.java
index a49e62b8d62e2..9cad8a208d6f3 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainProperties.java
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.signalr.models.ResourceReference;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Properties of a custom domain. */
+/**
+ * Properties of a custom domain.
+ */
@Fluent
public final class CustomDomainProperties {
/*
@@ -31,13 +33,15 @@ public final class CustomDomainProperties {
@JsonProperty(value = "customCertificate", required = true)
private ResourceReference customCertificate;
- /** Creates an instance of CustomDomainProperties class. */
+ /**
+ * Creates an instance of CustomDomainProperties class.
+ */
public CustomDomainProperties() {
}
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -46,7 +50,7 @@ public ProvisioningState provisioningState() {
/**
* Get the domainName property: The custom domain name.
- *
+ *
* @return the domainName value.
*/
public String domainName() {
@@ -55,7 +59,7 @@ public String domainName() {
/**
* Set the domainName property: The custom domain name.
- *
+ *
* @param domainName the domainName value to set.
* @return the CustomDomainProperties object itself.
*/
@@ -66,7 +70,7 @@ public CustomDomainProperties withDomainName(String domainName) {
/**
* Get the customCertificate property: Reference to a resource.
- *
+ *
* @return the customCertificate value.
*/
public ResourceReference customCertificate() {
@@ -75,7 +79,7 @@ public ResourceReference customCertificate() {
/**
* Set the customCertificate property: Reference to a resource.
- *
+ *
* @param customCertificate the customCertificate value to set.
* @return the CustomDomainProperties object itself.
*/
@@ -86,21 +90,19 @@ public CustomDomainProperties withCustomCertificate(ResourceReference customCert
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (domainName() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property domainName in model CustomDomainProperties"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property domainName in model CustomDomainProperties"));
}
if (customCertificate() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property customCertificate in model CustomDomainProperties"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property customCertificate in model CustomDomainProperties"));
} else {
customCertificate().validate();
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/NameAvailabilityInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/NameAvailabilityInner.java
index c654d2921c5cd..64f4d35f94f76 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/NameAvailabilityInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/NameAvailabilityInner.java
@@ -7,7 +7,9 @@
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Result of the request to check name availability. It contains a flag and possible reason of failure. */
+/**
+ * Result of the request to check name availability. It contains a flag and possible reason of failure.
+ */
@Fluent
public final class NameAvailabilityInner {
/*
@@ -28,13 +30,15 @@ public final class NameAvailabilityInner {
@JsonProperty(value = "message")
private String message;
- /** Creates an instance of NameAvailabilityInner class. */
+ /**
+ * Creates an instance of NameAvailabilityInner class.
+ */
public NameAvailabilityInner() {
}
/**
* Get the nameAvailable property: Indicates whether the name is available or not.
- *
+ *
* @return the nameAvailable value.
*/
public Boolean nameAvailable() {
@@ -43,7 +47,7 @@ public Boolean nameAvailable() {
/**
* Set the nameAvailable property: Indicates whether the name is available or not.
- *
+ *
* @param nameAvailable the nameAvailable value to set.
* @return the NameAvailabilityInner object itself.
*/
@@ -54,7 +58,7 @@ public NameAvailabilityInner withNameAvailable(Boolean nameAvailable) {
/**
* Get the reason property: The reason of the availability. Required if name is not available.
- *
+ *
* @return the reason value.
*/
public String reason() {
@@ -63,7 +67,7 @@ public String reason() {
/**
* Set the reason property: The reason of the availability. Required if name is not available.
- *
+ *
* @param reason the reason value to set.
* @return the NameAvailabilityInner object itself.
*/
@@ -74,7 +78,7 @@ public NameAvailabilityInner withReason(String reason) {
/**
* Get the message property: The message of the operation.
- *
+ *
* @return the message value.
*/
public String message() {
@@ -83,7 +87,7 @@ public String message() {
/**
* Set the message property: The message of the operation.
- *
+ *
* @param message the message value to set.
* @return the NameAvailabilityInner object itself.
*/
@@ -94,7 +98,7 @@ public NameAvailabilityInner withMessage(String message) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
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 e0bb67b4bfb1d..889ed4bd00dc1 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
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.signalr.models.OperationProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** REST API operation supported by resource provider. */
+/**
+ * REST API operation supported by resource provider.
+ */
@Fluent
public final class OperationInner {
/*
@@ -31,8 +33,7 @@ public final class OperationInner {
private OperationDisplay display;
/*
- * Optional. The intended executor of the operation; governs the display of the operation in the RBAC UX and the
- * audit logs UX.
+ * Optional. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX.
*/
@JsonProperty(value = "origin")
private String origin;
@@ -43,13 +44,15 @@ public final class OperationInner {
@JsonProperty(value = "properties")
private OperationProperties properties;
- /** Creates an instance of OperationInner class. */
+ /**
+ * Creates an instance of OperationInner class.
+ */
public OperationInner() {
}
/**
* Get the name property: Name of the operation with format: {provider}/{resource}/{operation}.
- *
+ *
* @return the name value.
*/
public String name() {
@@ -58,7 +61,7 @@ public String name() {
/**
* Set the name property: Name of the operation with format: {provider}/{resource}/{operation}.
- *
+ *
* @param name the name value to set.
* @return the OperationInner object itself.
*/
@@ -69,7 +72,7 @@ public OperationInner withName(String name) {
/**
* Get the isDataAction property: If the operation is a data action. (for data plane rbac).
- *
+ *
* @return the isDataAction value.
*/
public Boolean isDataAction() {
@@ -78,7 +81,7 @@ public Boolean isDataAction() {
/**
* Set the isDataAction property: If the operation is a data action. (for data plane rbac).
- *
+ *
* @param isDataAction the isDataAction value to set.
* @return the OperationInner object itself.
*/
@@ -89,7 +92,7 @@ public OperationInner withIsDataAction(Boolean isDataAction) {
/**
* Get the display property: The object that describes a operation.
- *
+ *
* @return the display value.
*/
public OperationDisplay display() {
@@ -98,7 +101,7 @@ public OperationDisplay display() {
/**
* Set the display property: The object that describes a operation.
- *
+ *
* @param display the display value to set.
* @return the OperationInner object itself.
*/
@@ -110,7 +113,7 @@ public OperationInner withDisplay(OperationDisplay display) {
/**
* Get the origin property: Optional. The intended executor of the operation; governs the display of the operation
* in the RBAC UX and the audit logs UX.
- *
+ *
* @return the origin value.
*/
public String origin() {
@@ -120,7 +123,7 @@ public String origin() {
/**
* Set the origin property: Optional. The intended executor of the operation; governs the display of the operation
* in the RBAC UX and the audit logs UX.
- *
+ *
* @param origin the origin value to set.
* @return the OperationInner object itself.
*/
@@ -131,7 +134,7 @@ public OperationInner withOrigin(String origin) {
/**
* Get the properties property: Extra Operation properties.
- *
+ *
* @return the properties value.
*/
public OperationProperties properties() {
@@ -140,7 +143,7 @@ public OperationProperties properties() {
/**
* Set the properties property: Extra Operation properties.
- *
+ *
* @param properties the properties value to set.
* @return the OperationInner object itself.
*/
@@ -151,7 +154,7 @@ public OperationInner withProperties(OperationProperties properties) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
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 b3396e23b47b7..a38cc7e251935 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
@@ -13,7 +13,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** A private endpoint connection to an azure resource. */
+/**
+ * A private endpoint connection to an azure resource.
+ */
@Fluent
public final class PrivateEndpointConnectionInner extends ProxyResource {
/*
@@ -28,13 +30,15 @@ public final class PrivateEndpointConnectionInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of PrivateEndpointConnectionInner class. */
+ /**
+ * Creates an instance of PrivateEndpointConnectionInner class.
+ */
public PrivateEndpointConnectionInner() {
}
/**
* Get the innerProperties property: Private endpoint connection properties.
- *
+ *
* @return the innerProperties value.
*/
private PrivateEndpointConnectionProperties innerProperties() {
@@ -43,7 +47,7 @@ private PrivateEndpointConnectionProperties innerProperties() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -52,7 +56,7 @@ public SystemData systemData() {
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -61,7 +65,7 @@ public ProvisioningState provisioningState() {
/**
* Get the privateEndpoint property: Private endpoint.
- *
+ *
* @return the privateEndpoint value.
*/
public PrivateEndpoint privateEndpoint() {
@@ -70,7 +74,7 @@ public PrivateEndpoint privateEndpoint() {
/**
* Set the privateEndpoint property: Private endpoint.
- *
+ *
* @param privateEndpoint the privateEndpoint value to set.
* @return the PrivateEndpointConnectionInner object itself.
*/
@@ -84,7 +88,7 @@ public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpoint privat
/**
* Get the groupIds property: Group IDs.
- *
+ *
* @return the groupIds value.
*/
public List groupIds() {
@@ -93,7 +97,7 @@ public List groupIds() {
/**
* Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
- *
+ *
* @return the privateLinkServiceConnectionState value.
*/
public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() {
@@ -102,12 +106,12 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() {
/**
* Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
- *
+ *
* @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set.
* @return the PrivateEndpointConnectionInner object itself.
*/
- public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(
- PrivateLinkServiceConnectionState privateLinkServiceConnectionState) {
+ public PrivateEndpointConnectionInner
+ withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) {
if (this.innerProperties() == null) {
this.innerProperties = new PrivateEndpointConnectionProperties();
}
@@ -117,7 +121,7 @@ public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
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 3c2ff5a36b840..74061c16bd543 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
@@ -11,7 +11,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Private endpoint connection properties. */
+/**
+ * Private endpoint connection properties.
+ */
@Fluent
public final class PrivateEndpointConnectionProperties {
/*
@@ -38,13 +40,15 @@ public final class PrivateEndpointConnectionProperties {
@JsonProperty(value = "privateLinkServiceConnectionState")
private PrivateLinkServiceConnectionState privateLinkServiceConnectionState;
- /** Creates an instance of PrivateEndpointConnectionProperties class. */
+ /**
+ * Creates an instance of PrivateEndpointConnectionProperties class.
+ */
public PrivateEndpointConnectionProperties() {
}
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -53,7 +57,7 @@ public ProvisioningState provisioningState() {
/**
* Get the privateEndpoint property: Private endpoint.
- *
+ *
* @return the privateEndpoint value.
*/
public PrivateEndpoint privateEndpoint() {
@@ -62,7 +66,7 @@ public PrivateEndpoint privateEndpoint() {
/**
* Set the privateEndpoint property: Private endpoint.
- *
+ *
* @param privateEndpoint the privateEndpoint value to set.
* @return the PrivateEndpointConnectionProperties object itself.
*/
@@ -73,7 +77,7 @@ public PrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpoint p
/**
* Get the groupIds property: Group IDs.
- *
+ *
* @return the groupIds value.
*/
public List groupIds() {
@@ -82,7 +86,7 @@ public List groupIds() {
/**
* Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
- *
+ *
* @return the privateLinkServiceConnectionState value.
*/
public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() {
@@ -91,19 +95,19 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() {
/**
* Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
- *
+ *
* @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set.
* @return the PrivateEndpointConnectionProperties object itself.
*/
- public PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(
- PrivateLinkServiceConnectionState privateLinkServiceConnectionState) {
+ public PrivateEndpointConnectionProperties
+ withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) {
this.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
return this;
}
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
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 b6dc4447bac3c..86edcbef50b7d 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
@@ -11,7 +11,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Private link resource. */
+/**
+ * Private link resource.
+ */
@Fluent
public final class PrivateLinkResourceInner extends ProxyResource {
/*
@@ -26,13 +28,15 @@ public final class PrivateLinkResourceInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of PrivateLinkResourceInner class. */
+ /**
+ * Creates an instance of PrivateLinkResourceInner class.
+ */
public PrivateLinkResourceInner() {
}
/**
* Get the innerProperties property: Private link resource properties.
- *
+ *
* @return the innerProperties value.
*/
private PrivateLinkResourceProperties innerProperties() {
@@ -41,7 +45,7 @@ private PrivateLinkResourceProperties innerProperties() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -50,7 +54,7 @@ public SystemData systemData() {
/**
* Get the groupId property: Group Id of the private link resource.
- *
+ *
* @return the groupId value.
*/
public String groupId() {
@@ -59,7 +63,7 @@ public String groupId() {
/**
* Set the groupId property: Group Id of the private link resource.
- *
+ *
* @param groupId the groupId value to set.
* @return the PrivateLinkResourceInner object itself.
*/
@@ -73,7 +77,7 @@ public PrivateLinkResourceInner withGroupId(String groupId) {
/**
* Get the requiredMembers property: Required members of the private link resource.
- *
+ *
* @return the requiredMembers value.
*/
public List requiredMembers() {
@@ -82,7 +86,7 @@ public List requiredMembers() {
/**
* Set the requiredMembers property: Required members of the private link resource.
- *
+ *
* @param requiredMembers the requiredMembers value to set.
* @return the PrivateLinkResourceInner object itself.
*/
@@ -96,7 +100,7 @@ public PrivateLinkResourceInner withRequiredMembers(List requiredMembers
/**
* Get the requiredZoneNames property: Required private DNS zone names.
- *
+ *
* @return the requiredZoneNames value.
*/
public List requiredZoneNames() {
@@ -105,7 +109,7 @@ public List requiredZoneNames() {
/**
* Set the requiredZoneNames property: Required private DNS zone names.
- *
+ *
* @param requiredZoneNames the requiredZoneNames value to set.
* @return the PrivateLinkResourceInner object itself.
*/
@@ -120,7 +124,7 @@ public PrivateLinkResourceInner withRequiredZoneNames(List requiredZoneN
/**
* Get the shareablePrivateLinkResourceTypes property: The list of resources that are onboarded to private link
* service.
- *
+ *
* @return the shareablePrivateLinkResourceTypes value.
*/
public List shareablePrivateLinkResourceTypes() {
@@ -130,7 +134,7 @@ public List shareablePrivateLinkResourceTypes(
/**
* Set the shareablePrivateLinkResourceTypes property: The list of resources that are onboarded to private link
* service.
- *
+ *
* @param shareablePrivateLinkResourceTypes the shareablePrivateLinkResourceTypes value to set.
* @return the PrivateLinkResourceInner object itself.
*/
@@ -145,7 +149,7 @@ public PrivateLinkResourceInner withShareablePrivateLinkResourceTypes(
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceProperties.java
index bc4983d6e376d..d0ce08b47252f 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceProperties.java
@@ -9,7 +9,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Private link resource properties. */
+/**
+ * Private link resource properties.
+ */
@Fluent
public final class PrivateLinkResourceProperties {
/*
@@ -36,13 +38,15 @@ public final class PrivateLinkResourceProperties {
@JsonProperty(value = "shareablePrivateLinkResourceTypes")
private List shareablePrivateLinkResourceTypes;
- /** Creates an instance of PrivateLinkResourceProperties class. */
+ /**
+ * Creates an instance of PrivateLinkResourceProperties class.
+ */
public PrivateLinkResourceProperties() {
}
/**
* Get the groupId property: Group Id of the private link resource.
- *
+ *
* @return the groupId value.
*/
public String groupId() {
@@ -51,7 +55,7 @@ public String groupId() {
/**
* Set the groupId property: Group Id of the private link resource.
- *
+ *
* @param groupId the groupId value to set.
* @return the PrivateLinkResourceProperties object itself.
*/
@@ -62,7 +66,7 @@ public PrivateLinkResourceProperties withGroupId(String groupId) {
/**
* Get the requiredMembers property: Required members of the private link resource.
- *
+ *
* @return the requiredMembers value.
*/
public List requiredMembers() {
@@ -71,7 +75,7 @@ public List requiredMembers() {
/**
* Set the requiredMembers property: Required members of the private link resource.
- *
+ *
* @param requiredMembers the requiredMembers value to set.
* @return the PrivateLinkResourceProperties object itself.
*/
@@ -82,7 +86,7 @@ public PrivateLinkResourceProperties withRequiredMembers(List requiredMe
/**
* Get the requiredZoneNames property: Required private DNS zone names.
- *
+ *
* @return the requiredZoneNames value.
*/
public List requiredZoneNames() {
@@ -91,7 +95,7 @@ public List requiredZoneNames() {
/**
* Set the requiredZoneNames property: Required private DNS zone names.
- *
+ *
* @param requiredZoneNames the requiredZoneNames value to set.
* @return the PrivateLinkResourceProperties object itself.
*/
@@ -103,7 +107,7 @@ public PrivateLinkResourceProperties withRequiredZoneNames(List required
/**
* Get the shareablePrivateLinkResourceTypes property: The list of resources that are onboarded to private link
* service.
- *
+ *
* @return the shareablePrivateLinkResourceTypes value.
*/
public List shareablePrivateLinkResourceTypes() {
@@ -113,7 +117,7 @@ public List shareablePrivateLinkResourceTypes(
/**
* Set the shareablePrivateLinkResourceTypes property: The list of resources that are onboarded to private link
* service.
- *
+ *
* @param shareablePrivateLinkResourceTypes the shareablePrivateLinkResourceTypes value to set.
* @return the PrivateLinkResourceProperties object itself.
*/
@@ -125,7 +129,7 @@ public PrivateLinkResourceProperties withShareablePrivateLinkResourceTypes(
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaInner.java
index d5b84d3eabd4b..c35ac15993783 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaInner.java
@@ -12,7 +12,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
-/** A class represent a replica resource. */
+/**
+ * A class represent a replica resource.
+ */
@Fluent
public final class ReplicaInner extends Resource {
/*
@@ -33,13 +35,15 @@ public final class ReplicaInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of ReplicaInner class. */
+ /**
+ * Creates an instance of ReplicaInner class.
+ */
public ReplicaInner() {
}
/**
* Get the sku property: The billing information of the resource.
- *
+ *
* @return the sku value.
*/
public ResourceSku sku() {
@@ -48,7 +52,7 @@ public ResourceSku sku() {
/**
* Set the sku property: The billing information of the resource.
- *
+ *
* @param sku the sku value to set.
* @return the ReplicaInner object itself.
*/
@@ -59,7 +63,7 @@ public ReplicaInner withSku(ResourceSku sku) {
/**
* Get the innerProperties property: The properties property.
- *
+ *
* @return the innerProperties value.
*/
private ReplicaProperties innerProperties() {
@@ -68,21 +72,25 @@ private ReplicaProperties innerProperties() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public ReplicaInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public ReplicaInner withTags(Map tags) {
super.withTags(tags);
@@ -91,7 +99,7 @@ public ReplicaInner withTags(Map tags) {
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -99,9 +107,10 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
- * Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
- *
+ * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
+ * affected.
+ *
* @return the regionEndpointEnabled value.
*/
public String regionEndpointEnabled() {
@@ -109,9 +118,10 @@ public String regionEndpointEnabled() {
}
/**
- * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
- * Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
- *
+ * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
+ * affected.
+ *
* @param regionEndpointEnabled the regionEndpointEnabled value to set.
* @return the ReplicaInner object itself.
*/
@@ -124,9 +134,10 @@ public ReplicaInner withRegionEndpointEnabled(String regionEndpointEnabled) {
}
/**
- * Get the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane
- * of the resource is shutdown. When it's false, the data plane of the resource is started.
- *
+ * Get the resourceStopped property: Stop or start the resource. Default to "false".
+ * When it's true, the data plane of the resource is shutdown.
+ * When it's false, the data plane of the resource is started.
+ *
* @return the resourceStopped value.
*/
public String resourceStopped() {
@@ -134,9 +145,10 @@ public String resourceStopped() {
}
/**
- * Set the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane
- * of the resource is shutdown. When it's false, the data plane of the resource is started.
- *
+ * Set the resourceStopped property: Stop or start the resource. Default to "false".
+ * When it's true, the data plane of the resource is shutdown.
+ * When it's false, the data plane of the resource is started.
+ *
* @param resourceStopped the resourceStopped value to set.
* @return the ReplicaInner object itself.
*/
@@ -150,7 +162,7 @@ public ReplicaInner withResourceStopped(String resourceStopped) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaProperties.java
index 3cadfe69776fd..fa8a94598e5dd 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaProperties.java
@@ -8,7 +8,9 @@
import com.azure.resourcemanager.signalr.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** The ReplicaProperties model. */
+/**
+ * The ReplicaProperties model.
+ */
@Fluent
public final class ReplicaProperties {
/*
@@ -19,8 +21,7 @@ public final class ReplicaProperties {
/*
* Enable or disable the regional endpoint. Default to "Enabled".
- * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not
- * be affected.
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
*/
@JsonProperty(value = "regionEndpointEnabled")
private String regionEndpointEnabled;
@@ -33,13 +34,15 @@ public final class ReplicaProperties {
@JsonProperty(value = "resourceStopped")
private String resourceStopped;
- /** Creates an instance of ReplicaProperties class. */
+ /**
+ * Creates an instance of ReplicaProperties class.
+ */
public ReplicaProperties() {
}
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -47,9 +50,10 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
- * Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
- *
+ * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
+ * affected.
+ *
* @return the regionEndpointEnabled value.
*/
public String regionEndpointEnabled() {
@@ -57,9 +61,10 @@ public String regionEndpointEnabled() {
}
/**
- * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
- * Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
- *
+ * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
+ * affected.
+ *
* @param regionEndpointEnabled the regionEndpointEnabled value to set.
* @return the ReplicaProperties object itself.
*/
@@ -69,9 +74,10 @@ public ReplicaProperties withRegionEndpointEnabled(String regionEndpointEnabled)
}
/**
- * Get the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane
- * of the resource is shutdown. When it's false, the data plane of the resource is started.
- *
+ * Get the resourceStopped property: Stop or start the resource. Default to "false".
+ * When it's true, the data plane of the resource is shutdown.
+ * When it's false, the data plane of the resource is started.
+ *
* @return the resourceStopped value.
*/
public String resourceStopped() {
@@ -79,9 +85,10 @@ public String resourceStopped() {
}
/**
- * Set the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane
- * of the resource is shutdown. When it's false, the data plane of the resource is started.
- *
+ * Set the resourceStopped property: Stop or start the resource. Default to "false".
+ * When it's true, the data plane of the resource is shutdown.
+ * When it's false, the data plane of the resource is started.
+ *
* @param resourceStopped the resourceStopped value to set.
* @return the ReplicaProperties object itself.
*/
@@ -92,7 +99,7 @@ public ReplicaProperties withResourceStopped(String resourceStopped) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
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 5a7cb45b3faf0..92a9d91e57d53 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
@@ -11,7 +11,9 @@
import com.azure.resourcemanager.signalr.models.SharedPrivateLinkResourceStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes a Shared Private Link Resource. */
+/**
+ * Describes a Shared Private Link Resource.
+ */
@Fluent
public final class SharedPrivateLinkResourceInner extends ProxyResource {
/*
@@ -26,13 +28,15 @@ public final class SharedPrivateLinkResourceInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of SharedPrivateLinkResourceInner class. */
+ /**
+ * Creates an instance of SharedPrivateLinkResourceInner class.
+ */
public SharedPrivateLinkResourceInner() {
}
/**
* Get the innerProperties property: Describes the properties of an existing Shared Private Link Resource.
- *
+ *
* @return the innerProperties value.
*/
private SharedPrivateLinkResourceProperties innerProperties() {
@@ -41,7 +45,7 @@ private SharedPrivateLinkResourceProperties innerProperties() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -50,7 +54,7 @@ public SystemData systemData() {
/**
* Get the groupId property: The group id from the provider of resource the shared private link resource is for.
- *
+ *
* @return the groupId value.
*/
public String groupId() {
@@ -59,7 +63,7 @@ public String groupId() {
/**
* Set the groupId property: The group id from the provider of resource the shared private link resource is for.
- *
+ *
* @param groupId the groupId value to set.
* @return the SharedPrivateLinkResourceInner object itself.
*/
@@ -73,7 +77,7 @@ public SharedPrivateLinkResourceInner withGroupId(String groupId) {
/**
* Get the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.
- *
+ *
* @return the privateLinkResourceId value.
*/
public String privateLinkResourceId() {
@@ -82,7 +86,7 @@ public String privateLinkResourceId() {
/**
* Set the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.
- *
+ *
* @param privateLinkResourceId the privateLinkResourceId value to set.
* @return the SharedPrivateLinkResourceInner object itself.
*/
@@ -96,7 +100,7 @@ public SharedPrivateLinkResourceInner withPrivateLinkResourceId(String privateLi
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -105,7 +109,7 @@ public ProvisioningState provisioningState() {
/**
* Get the requestMessage property: The request message for requesting approval of the shared private link resource.
- *
+ *
* @return the requestMessage value.
*/
public String requestMessage() {
@@ -114,7 +118,7 @@ public String requestMessage() {
/**
* Set the requestMessage property: The request message for requesting approval of the shared private link resource.
- *
+ *
* @param requestMessage the requestMessage value to set.
* @return the SharedPrivateLinkResourceInner object itself.
*/
@@ -128,7 +132,7 @@ public SharedPrivateLinkResourceInner withRequestMessage(String requestMessage)
/**
* Get the status property: Status of the shared private link resource.
- *
+ *
* @return the status value.
*/
public SharedPrivateLinkResourceStatus status() {
@@ -137,7 +141,7 @@ public SharedPrivateLinkResourceStatus status() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
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 36acd678521a0..e30d90b2613b2 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
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.signalr.models.SharedPrivateLinkResourceStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Describes the properties of an existing Shared Private Link Resource. */
+/**
+ * Describes the properties of an existing Shared Private Link Resource.
+ */
@Fluent
public final class SharedPrivateLinkResourceProperties {
/*
@@ -43,13 +45,15 @@ public final class SharedPrivateLinkResourceProperties {
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private SharedPrivateLinkResourceStatus status;
- /** Creates an instance of SharedPrivateLinkResourceProperties class. */
+ /**
+ * Creates an instance of SharedPrivateLinkResourceProperties class.
+ */
public SharedPrivateLinkResourceProperties() {
}
/**
* Get the groupId property: The group id from the provider of resource the shared private link resource is for.
- *
+ *
* @return the groupId value.
*/
public String groupId() {
@@ -58,7 +62,7 @@ public String groupId() {
/**
* Set the groupId property: The group id from the provider of resource the shared private link resource is for.
- *
+ *
* @param groupId the groupId value to set.
* @return the SharedPrivateLinkResourceProperties object itself.
*/
@@ -69,7 +73,7 @@ public SharedPrivateLinkResourceProperties withGroupId(String groupId) {
/**
* Get the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.
- *
+ *
* @return the privateLinkResourceId value.
*/
public String privateLinkResourceId() {
@@ -78,7 +82,7 @@ public String privateLinkResourceId() {
/**
* Set the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.
- *
+ *
* @param privateLinkResourceId the privateLinkResourceId value to set.
* @return the SharedPrivateLinkResourceProperties object itself.
*/
@@ -89,7 +93,7 @@ public SharedPrivateLinkResourceProperties withPrivateLinkResourceId(String priv
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -98,7 +102,7 @@ public ProvisioningState provisioningState() {
/**
* Get the requestMessage property: The request message for requesting approval of the shared private link resource.
- *
+ *
* @return the requestMessage value.
*/
public String requestMessage() {
@@ -107,7 +111,7 @@ public String requestMessage() {
/**
* Set the requestMessage property: The request message for requesting approval of the shared private link resource.
- *
+ *
* @param requestMessage the requestMessage value to set.
* @return the SharedPrivateLinkResourceProperties object itself.
*/
@@ -118,7 +122,7 @@ public SharedPrivateLinkResourceProperties withRequestMessage(String requestMess
/**
* Get the status property: Status of the shared private link resource.
- *
+ *
* @return the status value.
*/
public SharedPrivateLinkResourceStatus status() {
@@ -127,22 +131,19 @@ public SharedPrivateLinkResourceStatus status() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (groupId() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property groupId in model SharedPrivateLinkResourceProperties"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property groupId in model SharedPrivateLinkResourceProperties"));
}
if (privateLinkResourceId() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property privateLinkResourceId in model"
- + " SharedPrivateLinkResourceProperties"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property privateLinkResourceId in model SharedPrivateLinkResourceProperties"));
}
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRKeysInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRKeysInner.java
index 9f0ca975278ae..ee407f0954662 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRKeysInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRKeysInner.java
@@ -7,7 +7,9 @@
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A class represents the access keys of the resource. */
+/**
+ * A class represents the access keys of the resource.
+ */
@Fluent
public final class SignalRKeysInner {
/*
@@ -34,13 +36,15 @@ public final class SignalRKeysInner {
@JsonProperty(value = "secondaryConnectionString")
private String secondaryConnectionString;
- /** Creates an instance of SignalRKeysInner class. */
+ /**
+ * Creates an instance of SignalRKeysInner class.
+ */
public SignalRKeysInner() {
}
/**
* Get the primaryKey property: The primary access key.
- *
+ *
* @return the primaryKey value.
*/
public String primaryKey() {
@@ -49,7 +53,7 @@ public String primaryKey() {
/**
* Set the primaryKey property: The primary access key.
- *
+ *
* @param primaryKey the primaryKey value to set.
* @return the SignalRKeysInner object itself.
*/
@@ -60,7 +64,7 @@ public SignalRKeysInner withPrimaryKey(String primaryKey) {
/**
* Get the secondaryKey property: The secondary access key.
- *
+ *
* @return the secondaryKey value.
*/
public String secondaryKey() {
@@ -69,7 +73,7 @@ public String secondaryKey() {
/**
* Set the secondaryKey property: The secondary access key.
- *
+ *
* @param secondaryKey the secondaryKey value to set.
* @return the SignalRKeysInner object itself.
*/
@@ -80,7 +84,7 @@ public SignalRKeysInner withSecondaryKey(String secondaryKey) {
/**
* Get the primaryConnectionString property: Connection string constructed via the primaryKey.
- *
+ *
* @return the primaryConnectionString value.
*/
public String primaryConnectionString() {
@@ -89,7 +93,7 @@ public String primaryConnectionString() {
/**
* Set the primaryConnectionString property: Connection string constructed via the primaryKey.
- *
+ *
* @param primaryConnectionString the primaryConnectionString value to set.
* @return the SignalRKeysInner object itself.
*/
@@ -100,7 +104,7 @@ public SignalRKeysInner withPrimaryConnectionString(String primaryConnectionStri
/**
* Get the secondaryConnectionString property: Connection string constructed via the secondaryKey.
- *
+ *
* @return the secondaryConnectionString value.
*/
public String secondaryConnectionString() {
@@ -109,7 +113,7 @@ public String secondaryConnectionString() {
/**
* Set the secondaryConnectionString property: Connection string constructed via the secondaryKey.
- *
+ *
* @param secondaryConnectionString the secondaryConnectionString value to set.
* @return the SignalRKeysInner object itself.
*/
@@ -120,7 +124,7 @@ public SignalRKeysInner withSecondaryConnectionString(String secondaryConnection
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
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 2c332c0ad10ed..5ffbdc918a892 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
@@ -17,7 +17,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** A class that describes the properties of the resource. */
+/**
+ * A class that describes the properties of the resource.
+ */
@Fluent
public final class SignalRProperties {
/*
@@ -82,9 +84,9 @@ public final class SignalRProperties {
/*
* List of the featureFlags.
- *
+ *
* FeatureFlags that are not included in the parameters for the update operation will not be modified.
- * And the response will only include featureFlags that are explicitly set.
+ * And the response will only include featureFlags that are explicitly set.
* When a featureFlag is not explicitly set, its globally default value will be used
* But keep in mind, the default value doesn't mean "false". It varies in terms of different FeatureFlags.
*/
@@ -153,8 +155,7 @@ public final class SignalRProperties {
/*
* Enable or disable the regional endpoint. Default to "Enabled".
- * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not
- * be affected.
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
* This property is replica specific. Disable the regional endpoint without replica is not allowed.
*/
@JsonProperty(value = "regionEndpointEnabled")
@@ -168,13 +169,15 @@ public final class SignalRProperties {
@JsonProperty(value = "resourceStopped")
private String resourceStopped;
- /** Creates an instance of SignalRProperties class. */
+ /**
+ * Creates an instance of SignalRProperties class.
+ */
public SignalRProperties() {
}
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -183,7 +186,7 @@ public ProvisioningState provisioningState() {
/**
* Get the externalIp property: The publicly accessible IP of the resource.
- *
+ *
* @return the externalIp value.
*/
public String externalIp() {
@@ -192,7 +195,7 @@ public String externalIp() {
/**
* Get the hostname property: FQDN of the service instance.
- *
+ *
* @return the hostname value.
*/
public String hostname() {
@@ -202,7 +205,7 @@ public String hostname() {
/**
* Get the publicPort property: The publicly accessible port of the resource which is designed for browser/client
* side usage.
- *
+ *
* @return the publicPort value.
*/
public Integer publicPort() {
@@ -212,7 +215,7 @@ public Integer publicPort() {
/**
* Get the serverPort property: The publicly accessible port of the resource which is designed for customer server
* side usage.
- *
+ *
* @return the serverPort value.
*/
public Integer serverPort() {
@@ -221,7 +224,7 @@ public Integer serverPort() {
/**
* Get the version property: Version of the resource. Probably you need the same or higher version of client SDKs.
- *
+ *
* @return the version value.
*/
public String version() {
@@ -230,7 +233,7 @@ public String version() {
/**
* Get the privateEndpointConnections property: Private endpoint connections to the resource.
- *
+ *
* @return the privateEndpointConnections value.
*/
public List privateEndpointConnections() {
@@ -239,7 +242,7 @@ public List privateEndpointConnections() {
/**
* Get the sharedPrivateLinkResources property: The list of shared private link resources.
- *
+ *
* @return the sharedPrivateLinkResources value.
*/
public List sharedPrivateLinkResources() {
@@ -248,7 +251,7 @@ public List sharedPrivateLinkResources() {
/**
* Get the tls property: TLS settings for the resource.
- *
+ *
* @return the tls value.
*/
public SignalRTlsSettings tls() {
@@ -257,7 +260,7 @@ public SignalRTlsSettings tls() {
/**
* Set the tls property: TLS settings for the resource.
- *
+ *
* @param tls the tls value to set.
* @return the SignalRProperties object itself.
*/
@@ -268,7 +271,7 @@ public SignalRProperties withTls(SignalRTlsSettings tls) {
/**
* Get the hostnamePrefix property: Deprecated.
- *
+ *
* @return the hostnamePrefix value.
*/
public String hostnamePrefix() {
@@ -277,12 +280,12 @@ public String hostnamePrefix() {
/**
* Get the features property: List of the featureFlags.
- *
- * FeatureFlags that are not included in the parameters for the update operation will not be modified. And the
- * response will only include featureFlags that are explicitly set. When a featureFlag is not explicitly set, its
- * globally default value will be used But keep in mind, the default value doesn't mean "false". It varies in terms
- * of different FeatureFlags.
- *
+ *
+ * FeatureFlags that are not included in the parameters for the update operation will not be modified.
+ * And the response will only include featureFlags that are explicitly set.
+ * When a featureFlag is not explicitly set, its globally default value will be used
+ * But keep in mind, the default value doesn't mean "false". It varies in terms of different FeatureFlags.
+ *
* @return the features value.
*/
public List features() {
@@ -291,12 +294,12 @@ public List features() {
/**
* Set the features property: List of the featureFlags.
- *
- * FeatureFlags that are not included in the parameters for the update operation will not be modified. And the
- * response will only include featureFlags that are explicitly set. When a featureFlag is not explicitly set, its
- * globally default value will be used But keep in mind, the default value doesn't mean "false". It varies in terms
- * of different FeatureFlags.
- *
+ *
+ * FeatureFlags that are not included in the parameters for the update operation will not be modified.
+ * And the response will only include featureFlags that are explicitly set.
+ * When a featureFlag is not explicitly set, its globally default value will be used
+ * But keep in mind, the default value doesn't mean "false". It varies in terms of different FeatureFlags.
+ *
* @param features the features value to set.
* @return the SignalRProperties object itself.
*/
@@ -307,7 +310,7 @@ public SignalRProperties withFeatures(List features) {
/**
* Get the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.
- *
+ *
* @return the liveTraceConfiguration value.
*/
public LiveTraceConfiguration liveTraceConfiguration() {
@@ -316,7 +319,7 @@ public LiveTraceConfiguration liveTraceConfiguration() {
/**
* Set the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.
- *
+ *
* @param liveTraceConfiguration the liveTraceConfiguration value to set.
* @return the SignalRProperties object itself.
*/
@@ -327,7 +330,7 @@ public SignalRProperties withLiveTraceConfiguration(LiveTraceConfiguration liveT
/**
* Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.
- *
+ *
* @return the resourceLogConfiguration value.
*/
public ResourceLogConfiguration resourceLogConfiguration() {
@@ -336,7 +339,7 @@ public ResourceLogConfiguration resourceLogConfiguration() {
/**
* Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.
- *
+ *
* @param resourceLogConfiguration the resourceLogConfiguration value to set.
* @return the SignalRProperties object itself.
*/
@@ -347,7 +350,7 @@ public SignalRProperties withResourceLogConfiguration(ResourceLogConfiguration r
/**
* Get the cors property: Cross-Origin Resource Sharing (CORS) settings.
- *
+ *
* @return the cors value.
*/
public SignalRCorsSettings cors() {
@@ -356,7 +359,7 @@ public SignalRCorsSettings cors() {
/**
* Set the cors property: Cross-Origin Resource Sharing (CORS) settings.
- *
+ *
* @param cors the cors value to set.
* @return the SignalRProperties object itself.
*/
@@ -367,7 +370,7 @@ public SignalRProperties withCors(SignalRCorsSettings cors) {
/**
* Get the serverless property: Serverless settings.
- *
+ *
* @return the serverless value.
*/
public ServerlessSettings serverless() {
@@ -376,7 +379,7 @@ public ServerlessSettings serverless() {
/**
* Set the serverless property: Serverless settings.
- *
+ *
* @param serverless the serverless value to set.
* @return the SignalRProperties object itself.
*/
@@ -387,7 +390,7 @@ public SignalRProperties withServerless(ServerlessSettings serverless) {
/**
* Get the upstream property: The settings for the Upstream when the service is in server-less mode.
- *
+ *
* @return the upstream value.
*/
public ServerlessUpstreamSettings upstream() {
@@ -396,7 +399,7 @@ public ServerlessUpstreamSettings upstream() {
/**
* 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.
*/
@@ -407,7 +410,7 @@ public SignalRProperties withUpstream(ServerlessUpstreamSettings upstream) {
/**
* Get the networkACLs property: Network ACLs for the resource.
- *
+ *
* @return the networkACLs value.
*/
public SignalRNetworkACLs networkACLs() {
@@ -416,7 +419,7 @@ public SignalRNetworkACLs networkACLs() {
/**
* Set the networkACLs property: Network ACLs for the resource.
- *
+ *
* @param networkACLs the networkACLs value to set.
* @return the SignalRProperties object itself.
*/
@@ -426,10 +429,10 @@ public SignalRProperties withNetworkACLs(SignalRNetworkACLs networkACLs) {
}
/**
- * Get the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled". When it's
- * Enabled, network ACLs still apply. When it's Disabled, public network access is always disabled no matter what
- * you set in network ACLs.
- *
+ * Get the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled".
+ * When it's Enabled, network ACLs still apply.
+ * When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
+ *
* @return the publicNetworkAccess value.
*/
public String publicNetworkAccess() {
@@ -437,10 +440,10 @@ public String publicNetworkAccess() {
}
/**
- * Set the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled". When it's
- * Enabled, network ACLs still apply. When it's Disabled, public network access is always disabled no matter what
- * you set in network ACLs.
- *
+ * Set the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled".
+ * When it's Enabled, network ACLs still apply.
+ * When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
+ *
* @param publicNetworkAccess the publicNetworkAccess value to set.
* @return the SignalRProperties object itself.
*/
@@ -450,9 +453,10 @@ public SignalRProperties withPublicNetworkAccess(String publicNetworkAccess) {
}
/**
- * Get the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true,
- * connection with AccessKey=xxx won't work.
- *
+ * Get the disableLocalAuth property: DisableLocalAuth
+ * Enable or disable local auth with AccessKey
+ * When set as true, connection with AccessKey=xxx won't work.
+ *
* @return the disableLocalAuth value.
*/
public Boolean disableLocalAuth() {
@@ -460,9 +464,10 @@ public Boolean disableLocalAuth() {
}
/**
- * Set the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true,
- * connection with AccessKey=xxx won't work.
- *
+ * Set the disableLocalAuth property: DisableLocalAuth
+ * Enable or disable local auth with AccessKey
+ * When set as true, connection with AccessKey=xxx won't work.
+ *
* @param disableLocalAuth the disableLocalAuth value to set.
* @return the SignalRProperties object itself.
*/
@@ -472,9 +477,10 @@ public SignalRProperties withDisableLocalAuth(Boolean disableLocalAuth) {
}
/**
- * Get the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with
- * AuthType=aad won't work.
- *
+ * Get the disableAadAuth property: DisableLocalAuth
+ * Enable or disable aad auth
+ * When set as true, connection with AuthType=aad won't work.
+ *
* @return the disableAadAuth value.
*/
public Boolean disableAadAuth() {
@@ -482,9 +488,10 @@ public Boolean disableAadAuth() {
}
/**
- * Set the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with
- * AuthType=aad won't work.
- *
+ * Set the disableAadAuth property: DisableLocalAuth
+ * Enable or disable aad auth
+ * When set as true, connection with AuthType=aad won't work.
+ *
* @param disableAadAuth the disableAadAuth value to set.
* @return the SignalRProperties object itself.
*/
@@ -494,10 +501,11 @@ public SignalRProperties withDisableAadAuth(Boolean disableAadAuth) {
}
/**
- * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
- * Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
+ * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
+ * affected.
* This property is replica specific. Disable the regional endpoint without replica is not allowed.
- *
+ *
* @return the regionEndpointEnabled value.
*/
public String regionEndpointEnabled() {
@@ -505,10 +513,11 @@ public String regionEndpointEnabled() {
}
/**
- * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
- * Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
+ * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
+ * affected.
* This property is replica specific. Disable the regional endpoint without replica is not allowed.
- *
+ *
* @param regionEndpointEnabled the regionEndpointEnabled value to set.
* @return the SignalRProperties object itself.
*/
@@ -518,9 +527,10 @@ public SignalRProperties withRegionEndpointEnabled(String regionEndpointEnabled)
}
/**
- * Get the resourceStopped property: Stop or start the resource. Default to "False". When it's true, the data plane
- * of the resource is shutdown. When it's false, the data plane of the resource is started.
- *
+ * Get the resourceStopped property: Stop or start the resource. Default to "False".
+ * When it's true, the data plane of the resource is shutdown.
+ * When it's false, the data plane of the resource is started.
+ *
* @return the resourceStopped value.
*/
public String resourceStopped() {
@@ -528,9 +538,10 @@ public String resourceStopped() {
}
/**
- * Set the resourceStopped property: Stop or start the resource. Default to "False". When it's true, the data plane
- * of the resource is shutdown. When it's false, the data plane of the resource is started.
- *
+ * Set the resourceStopped property: Stop or start the resource. Default to "False".
+ * When it's true, the data plane of the resource is shutdown.
+ * When it's false, the data plane of the resource is started.
+ *
* @param resourceStopped the resourceStopped value to set.
* @return the SignalRProperties object itself.
*/
@@ -541,7 +552,7 @@ public SignalRProperties withResourceStopped(String resourceStopped) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
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 f41fa0c5a97bd..12b70ad44accc 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
@@ -23,7 +23,9 @@
import java.util.List;
import java.util.Map;
-/** A class represent a resource. */
+/**
+ * A class represent a resource.
+ */
@Fluent
public final class SignalRResourceInner extends Resource {
/*
@@ -56,13 +58,15 @@ public final class SignalRResourceInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of SignalRResourceInner class. */
+ /**
+ * Creates an instance of SignalRResourceInner class.
+ */
public SignalRResourceInner() {
}
/**
* Get the sku property: The billing information of the resource.
- *
+ *
* @return the sku value.
*/
public ResourceSku sku() {
@@ -71,7 +75,7 @@ public ResourceSku sku() {
/**
* Set the sku property: The billing information of the resource.
- *
+ *
* @param sku the sku value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -82,7 +86,7 @@ public SignalRResourceInner withSku(ResourceSku sku) {
/**
* Get the innerProperties property: A class that describes the properties of the resource.
- *
+ *
* @return the innerProperties value.
*/
private SignalRProperties innerProperties() {
@@ -91,7 +95,7 @@ private SignalRProperties innerProperties() {
/**
* Get the kind property: The kind of the service.
- *
+ *
* @return the kind value.
*/
public ServiceKind kind() {
@@ -100,7 +104,7 @@ public ServiceKind kind() {
/**
* Set the kind property: The kind of the service.
- *
+ *
* @param kind the kind value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -111,7 +115,7 @@ public SignalRResourceInner withKind(ServiceKind kind) {
/**
* Get the identity property: A class represent managed identities used for request and response.
- *
+ *
* @return the identity value.
*/
public ManagedIdentity identity() {
@@ -120,7 +124,7 @@ public ManagedIdentity identity() {
/**
* 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.
*/
@@ -131,21 +135,25 @@ public SignalRResourceInner withIdentity(ManagedIdentity identity) {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public SignalRResourceInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public SignalRResourceInner withTags(Map tags) {
super.withTags(tags);
@@ -154,7 +162,7 @@ public SignalRResourceInner withTags(Map tags) {
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -163,7 +171,7 @@ public ProvisioningState provisioningState() {
/**
* Get the externalIp property: The publicly accessible IP of the resource.
- *
+ *
* @return the externalIp value.
*/
public String externalIp() {
@@ -172,7 +180,7 @@ public String externalIp() {
/**
* Get the hostname property: FQDN of the service instance.
- *
+ *
* @return the hostname value.
*/
public String hostname() {
@@ -182,7 +190,7 @@ public String hostname() {
/**
* Get the publicPort property: The publicly accessible port of the resource which is designed for browser/client
* side usage.
- *
+ *
* @return the publicPort value.
*/
public Integer publicPort() {
@@ -192,7 +200,7 @@ public Integer publicPort() {
/**
* Get the serverPort property: The publicly accessible port of the resource which is designed for customer server
* side usage.
- *
+ *
* @return the serverPort value.
*/
public Integer serverPort() {
@@ -201,7 +209,7 @@ public Integer serverPort() {
/**
* Get the version property: Version of the resource. Probably you need the same or higher version of client SDKs.
- *
+ *
* @return the version value.
*/
public String version() {
@@ -210,7 +218,7 @@ public String version() {
/**
* Get the privateEndpointConnections property: Private endpoint connections to the resource.
- *
+ *
* @return the privateEndpointConnections value.
*/
public List privateEndpointConnections() {
@@ -219,7 +227,7 @@ public List privateEndpointConnections() {
/**
* Get the sharedPrivateLinkResources property: The list of shared private link resources.
- *
+ *
* @return the sharedPrivateLinkResources value.
*/
public List sharedPrivateLinkResources() {
@@ -228,7 +236,7 @@ public List sharedPrivateLinkResources() {
/**
* Get the tls property: TLS settings for the resource.
- *
+ *
* @return the tls value.
*/
public SignalRTlsSettings tls() {
@@ -237,7 +245,7 @@ public SignalRTlsSettings tls() {
/**
* Set the tls property: TLS settings for the resource.
- *
+ *
* @param tls the tls value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -251,7 +259,7 @@ public SignalRResourceInner withTls(SignalRTlsSettings tls) {
/**
* Get the hostnamePrefix property: Deprecated.
- *
+ *
* @return the hostnamePrefix value.
*/
public String hostnamePrefix() {
@@ -260,12 +268,12 @@ public String hostnamePrefix() {
/**
* Get the features property: List of the featureFlags.
- *
- * FeatureFlags that are not included in the parameters for the update operation will not be modified. And the
- * response will only include featureFlags that are explicitly set. When a featureFlag is not explicitly set, its
- * globally default value will be used But keep in mind, the default value doesn't mean "false". It varies in terms
- * of different FeatureFlags.
- *
+ *
+ * FeatureFlags that are not included in the parameters for the update operation will not be modified.
+ * And the response will only include featureFlags that are explicitly set.
+ * When a featureFlag is not explicitly set, its globally default value will be used
+ * But keep in mind, the default value doesn't mean "false". It varies in terms of different FeatureFlags.
+ *
* @return the features value.
*/
public List features() {
@@ -274,12 +282,12 @@ public List features() {
/**
* Set the features property: List of the featureFlags.
- *
- * FeatureFlags that are not included in the parameters for the update operation will not be modified. And the
- * response will only include featureFlags that are explicitly set. When a featureFlag is not explicitly set, its
- * globally default value will be used But keep in mind, the default value doesn't mean "false". It varies in terms
- * of different FeatureFlags.
- *
+ *
+ * FeatureFlags that are not included in the parameters for the update operation will not be modified.
+ * And the response will only include featureFlags that are explicitly set.
+ * When a featureFlag is not explicitly set, its globally default value will be used
+ * But keep in mind, the default value doesn't mean "false". It varies in terms of different FeatureFlags.
+ *
* @param features the features value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -293,7 +301,7 @@ public SignalRResourceInner withFeatures(List features) {
/**
* Get the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.
- *
+ *
* @return the liveTraceConfiguration value.
*/
public LiveTraceConfiguration liveTraceConfiguration() {
@@ -302,7 +310,7 @@ public LiveTraceConfiguration liveTraceConfiguration() {
/**
* Set the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.
- *
+ *
* @param liveTraceConfiguration the liveTraceConfiguration value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -316,7 +324,7 @@ public SignalRResourceInner withLiveTraceConfiguration(LiveTraceConfiguration li
/**
* Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.
- *
+ *
* @return the resourceLogConfiguration value.
*/
public ResourceLogConfiguration resourceLogConfiguration() {
@@ -325,7 +333,7 @@ public ResourceLogConfiguration resourceLogConfiguration() {
/**
* Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.
- *
+ *
* @param resourceLogConfiguration the resourceLogConfiguration value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -339,7 +347,7 @@ public SignalRResourceInner withResourceLogConfiguration(ResourceLogConfiguratio
/**
* Get the cors property: Cross-Origin Resource Sharing (CORS) settings.
- *
+ *
* @return the cors value.
*/
public SignalRCorsSettings cors() {
@@ -348,7 +356,7 @@ public SignalRCorsSettings cors() {
/**
* Set the cors property: Cross-Origin Resource Sharing (CORS) settings.
- *
+ *
* @param cors the cors value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -362,7 +370,7 @@ public SignalRResourceInner withCors(SignalRCorsSettings cors) {
/**
* Get the serverless property: Serverless settings.
- *
+ *
* @return the serverless value.
*/
public ServerlessSettings serverless() {
@@ -371,7 +379,7 @@ public ServerlessSettings serverless() {
/**
* Set the serverless property: Serverless settings.
- *
+ *
* @param serverless the serverless value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -385,7 +393,7 @@ public SignalRResourceInner withServerless(ServerlessSettings serverless) {
/**
* Get the upstream property: The settings for the Upstream when the service is in server-less mode.
- *
+ *
* @return the upstream value.
*/
public ServerlessUpstreamSettings upstream() {
@@ -394,7 +402,7 @@ public ServerlessUpstreamSettings upstream() {
/**
* 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.
*/
@@ -408,7 +416,7 @@ public SignalRResourceInner withUpstream(ServerlessUpstreamSettings upstream) {
/**
* Get the networkACLs property: Network ACLs for the resource.
- *
+ *
* @return the networkACLs value.
*/
public SignalRNetworkACLs networkACLs() {
@@ -417,7 +425,7 @@ public SignalRNetworkACLs networkACLs() {
/**
* Set the networkACLs property: Network ACLs for the resource.
- *
+ *
* @param networkACLs the networkACLs value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -430,10 +438,10 @@ public SignalRResourceInner withNetworkACLs(SignalRNetworkACLs networkACLs) {
}
/**
- * Get the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled". When it's
- * Enabled, network ACLs still apply. When it's Disabled, public network access is always disabled no matter what
- * you set in network ACLs.
- *
+ * Get the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled".
+ * When it's Enabled, network ACLs still apply.
+ * When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
+ *
* @return the publicNetworkAccess value.
*/
public String publicNetworkAccess() {
@@ -441,10 +449,10 @@ public String publicNetworkAccess() {
}
/**
- * Set the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled". When it's
- * Enabled, network ACLs still apply. When it's Disabled, public network access is always disabled no matter what
- * you set in network ACLs.
- *
+ * Set the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled".
+ * When it's Enabled, network ACLs still apply.
+ * When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
+ *
* @param publicNetworkAccess the publicNetworkAccess value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -457,9 +465,10 @@ public SignalRResourceInner withPublicNetworkAccess(String publicNetworkAccess)
}
/**
- * Get the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true,
- * connection with AccessKey=xxx won't work.
- *
+ * Get the disableLocalAuth property: DisableLocalAuth
+ * Enable or disable local auth with AccessKey
+ * When set as true, connection with AccessKey=xxx won't work.
+ *
* @return the disableLocalAuth value.
*/
public Boolean disableLocalAuth() {
@@ -467,9 +476,10 @@ public Boolean disableLocalAuth() {
}
/**
- * Set the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true,
- * connection with AccessKey=xxx won't work.
- *
+ * Set the disableLocalAuth property: DisableLocalAuth
+ * Enable or disable local auth with AccessKey
+ * When set as true, connection with AccessKey=xxx won't work.
+ *
* @param disableLocalAuth the disableLocalAuth value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -482,9 +492,10 @@ public SignalRResourceInner withDisableLocalAuth(Boolean disableLocalAuth) {
}
/**
- * Get the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with
- * AuthType=aad won't work.
- *
+ * Get the disableAadAuth property: DisableLocalAuth
+ * Enable or disable aad auth
+ * When set as true, connection with AuthType=aad won't work.
+ *
* @return the disableAadAuth value.
*/
public Boolean disableAadAuth() {
@@ -492,9 +503,10 @@ public Boolean disableAadAuth() {
}
/**
- * Set the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with
- * AuthType=aad won't work.
- *
+ * Set the disableAadAuth property: DisableLocalAuth
+ * Enable or disable aad auth
+ * When set as true, connection with AuthType=aad won't work.
+ *
* @param disableAadAuth the disableAadAuth value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -507,10 +519,11 @@ public SignalRResourceInner withDisableAadAuth(Boolean disableAadAuth) {
}
/**
- * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
- * Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
+ * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
+ * affected.
* This property is replica specific. Disable the regional endpoint without replica is not allowed.
- *
+ *
* @return the regionEndpointEnabled value.
*/
public String regionEndpointEnabled() {
@@ -518,10 +531,11 @@ public String regionEndpointEnabled() {
}
/**
- * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's
- * Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
+ * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
+ * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
+ * affected.
* This property is replica specific. Disable the regional endpoint without replica is not allowed.
- *
+ *
* @param regionEndpointEnabled the regionEndpointEnabled value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -534,9 +548,10 @@ public SignalRResourceInner withRegionEndpointEnabled(String regionEndpointEnabl
}
/**
- * Get the resourceStopped property: Stop or start the resource. Default to "False". When it's true, the data plane
- * of the resource is shutdown. When it's false, the data plane of the resource is started.
- *
+ * Get the resourceStopped property: Stop or start the resource. Default to "False".
+ * When it's true, the data plane of the resource is shutdown.
+ * When it's false, the data plane of the resource is started.
+ *
* @return the resourceStopped value.
*/
public String resourceStopped() {
@@ -544,9 +559,10 @@ public String resourceStopped() {
}
/**
- * Set the resourceStopped property: Stop or start the resource. Default to "False". When it's true, the data plane
- * of the resource is shutdown. When it's false, the data plane of the resource is started.
- *
+ * Set the resourceStopped property: Stop or start the resource. Default to "False".
+ * When it's true, the data plane of the resource is shutdown.
+ * When it's false, the data plane of the resource is started.
+ *
* @param resourceStopped the resourceStopped value to set.
* @return the SignalRResourceInner object itself.
*/
@@ -560,7 +576,7 @@ public SignalRResourceInner withResourceStopped(String resourceStopped) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRUsageInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRUsageInner.java
index 85d014f44f67c..dd2a397a41766 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRUsageInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRUsageInner.java
@@ -8,7 +8,9 @@
import com.azure.resourcemanager.signalr.models.SignalRUsageName;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Object that describes a specific usage of the resources. */
+/**
+ * Object that describes a specific usage of the resources.
+ */
@Fluent
public final class SignalRUsageInner {
/*
@@ -36,19 +38,20 @@ public final class SignalRUsageInner {
private SignalRUsageName name;
/*
- * Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond,
- * BytesPerSecond.
+ * Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.
*/
@JsonProperty(value = "unit")
private String unit;
- /** Creates an instance of SignalRUsageInner class. */
+ /**
+ * Creates an instance of SignalRUsageInner class.
+ */
public SignalRUsageInner() {
}
/**
* Get the id property: Fully qualified ARM resource id.
- *
+ *
* @return the id value.
*/
public String id() {
@@ -57,7 +60,7 @@ public String id() {
/**
* Set the id property: Fully qualified ARM resource id.
- *
+ *
* @param id the id value to set.
* @return the SignalRUsageInner object itself.
*/
@@ -68,7 +71,7 @@ public SignalRUsageInner withId(String id) {
/**
* Get the currentValue property: Current value for the usage quota.
- *
+ *
* @return the currentValue value.
*/
public Long currentValue() {
@@ -77,7 +80,7 @@ public Long currentValue() {
/**
* Set the currentValue property: Current value for the usage quota.
- *
+ *
* @param currentValue the currentValue value to set.
* @return the SignalRUsageInner object itself.
*/
@@ -89,7 +92,7 @@ public SignalRUsageInner withCurrentValue(Long currentValue) {
/**
* Get the limit property: The maximum permitted value for the usage quota. If there is no limit, this value will be
* -1.
- *
+ *
* @return the limit value.
*/
public Long limit() {
@@ -99,7 +102,7 @@ public Long limit() {
/**
* Set the limit property: The maximum permitted value for the usage quota. If there is no limit, this value will be
* -1.
- *
+ *
* @param limit the limit value to set.
* @return the SignalRUsageInner object itself.
*/
@@ -110,7 +113,7 @@ public SignalRUsageInner withLimit(Long limit) {
/**
* Get the name property: Localizable String object containing the name and a localized value.
- *
+ *
* @return the name value.
*/
public SignalRUsageName name() {
@@ -119,7 +122,7 @@ public SignalRUsageName name() {
/**
* Set the name property: Localizable String object containing the name and a localized value.
- *
+ *
* @param name the name value to set.
* @return the SignalRUsageInner object itself.
*/
@@ -131,7 +134,7 @@ public SignalRUsageInner withName(SignalRUsageName name) {
/**
* Get the unit property: Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds,
* Percent, CountPerSecond, BytesPerSecond.
- *
+ *
* @return the unit value.
*/
public String unit() {
@@ -141,7 +144,7 @@ public String unit() {
/**
* Set the unit property: Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds,
* Percent, CountPerSecond, BytesPerSecond.
- *
+ *
* @param unit the unit value to set.
* @return the SignalRUsageInner object itself.
*/
@@ -152,7 +155,7 @@ public SignalRUsageInner withUnit(String unit) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SkuListInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SkuListInner.java
index 50d63f7a2d074..6c7b880d7359a 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SkuListInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SkuListInner.java
@@ -9,7 +9,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** The list skus operation response. */
+/**
+ * The list skus operation response.
+ */
@Immutable
public final class SkuListInner {
/*
@@ -25,13 +27,15 @@ public final class SkuListInner {
@JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY)
private String nextLink;
- /** Creates an instance of SkuListInner class. */
+ /**
+ * Creates an instance of SkuListInner class.
+ */
public SkuListInner() {
}
/**
* Get the value property: The list of skus available for the resource.
- *
+ *
* @return the value value.
*/
public List value() {
@@ -39,9 +43,9 @@ public List value() {
}
/**
- * Get the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's
- * null for now, added for future use.
- *
+ * Get the nextLink property: The URL the client should use to fetch the next page (per server side paging).
+ * It's null for now, added for future use.
+ *
* @return the nextLink value.
*/
public String nextLink() {
@@ -50,7 +54,7 @@ public String nextLink() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/package-info.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/package-info.java
index 1e650ff3bebcc..5a3dac615119b 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/package-info.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/package-info.java
@@ -2,5 +2,8 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-/** Package containing the inner data models for SignalRManagementClient. REST API for Azure SignalR Service. */
+/**
+ * Package containing the inner data models for SignalRManagementClient.
+ * REST API for Azure SignalR Service.
+ */
package com.azure.resourcemanager.signalr.fluent.models;
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/package-info.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/package-info.java
index 88b5a7b7ecf0f..0ef306cbd07d8 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/package-info.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/package-info.java
@@ -2,5 +2,8 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-/** Package containing the service clients for SignalRManagementClient. REST API for Azure SignalR Service. */
+/**
+ * Package containing the service clients for SignalRManagementClient.
+ * REST API for Azure SignalR Service.
+ */
package com.azure.resourcemanager.signalr.fluent;
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomCertificateImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomCertificateImpl.java
index b11cb015dd253..f6f788841a91b 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomCertificateImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomCertificateImpl.java
@@ -73,20 +73,16 @@ public CustomCertificateImpl withExistingSignalR(String resourceGroupName, Strin
}
public CustomCertificate create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomCertificates()
- .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomCertificates()
+ .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), Context.NONE);
return this;
}
public CustomCertificate create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomCertificates()
- .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomCertificates()
+ .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), context);
return this;
}
@@ -101,49 +97,41 @@ public CustomCertificateImpl update() {
}
public CustomCertificate apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomCertificates()
- .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomCertificates()
+ .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), Context.NONE);
return this;
}
public CustomCertificate apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomCertificates()
- .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomCertificates()
+ .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), context);
return this;
}
- CustomCertificateImpl(
- CustomCertificateInner innerObject, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
+ CustomCertificateImpl(CustomCertificateInner innerObject,
+ com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
- this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.resourceName = Utils.getValueFromIdByName(innerObject.id(), "signalR");
- this.certificateName = Utils.getValueFromIdByName(innerObject.id(), "customCertificates");
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "signalR");
+ this.certificateName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "customCertificates");
}
public CustomCertificate refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomCertificates()
- .getWithResponse(resourceGroupName, resourceName, certificateName, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomCertificates()
+ .getWithResponse(resourceGroupName, resourceName, certificateName, Context.NONE)
+ .getValue();
return this;
}
public CustomCertificate refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomCertificates()
- .getWithResponse(resourceGroupName, resourceName, certificateName, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomCertificates()
+ .getWithResponse(resourceGroupName, resourceName, certificateName, context)
+ .getValue();
return this;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomDomainImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomDomainImpl.java
index 5ca7f62bdf1f0..de0b7bd3153a9 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomDomainImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomDomainImpl.java
@@ -69,20 +69,16 @@ public CustomDomainImpl withExistingSignalR(String resourceGroupName, String res
}
public CustomDomain create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomDomains()
- .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomDomains()
+ .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), Context.NONE);
return this;
}
public CustomDomain create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomDomains()
- .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomDomains()
+ .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), context);
return this;
}
@@ -97,48 +93,40 @@ public CustomDomainImpl update() {
}
public CustomDomain apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomDomains()
- .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomDomains()
+ .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), Context.NONE);
return this;
}
public CustomDomain apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomDomains()
- .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomDomains()
+ .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), context);
return this;
}
CustomDomainImpl(CustomDomainInner innerObject, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
- this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.resourceName = Utils.getValueFromIdByName(innerObject.id(), "signalR");
- this.name = Utils.getValueFromIdByName(innerObject.id(), "customDomains");
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "signalR");
+ this.name = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "customDomains");
}
public CustomDomain refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomDomains()
- .getWithResponse(resourceGroupName, resourceName, name, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomDomains()
+ .getWithResponse(resourceGroupName, resourceName, name, Context.NONE)
+ .getValue();
return this;
}
public CustomDomain refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRCustomDomains()
- .getWithResponse(resourceGroupName, resourceName, name, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRCustomDomains()
+ .getWithResponse(resourceGroupName, resourceName, name, context)
+ .getValue();
return this;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/NameAvailabilityImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/NameAvailabilityImpl.java
index be4f23773912f..a091621b2a1b6 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/NameAvailabilityImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/NameAvailabilityImpl.java
@@ -12,8 +12,8 @@ public final class NameAvailabilityImpl implements NameAvailability {
private final com.azure.resourcemanager.signalr.SignalRManager serviceManager;
- NameAvailabilityImpl(
- NameAvailabilityInner innerObject, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
+ NameAvailabilityImpl(NameAvailabilityInner innerObject,
+ com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
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 7b75076884bcb..b2f0ddad358ad 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
@@ -30,22 +30,28 @@
import com.azure.resourcemanager.signalr.models.OperationList;
import reactor.core.publisher.Mono;
-/** An instance of this class provides access to all the operations defined in OperationsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in OperationsClient.
+ */
public final class OperationsClientImpl implements OperationsClient {
- /** The proxy service used to perform REST calls. */
+ /**
+ * The proxy service used to perform REST calls.
+ */
private final OperationsService service;
- /** The service client containing this operation class. */
+ /**
+ * The service client containing this operation class.
+ */
private final SignalRManagementClientImpl client;
/**
* Initializes an instance of OperationsClientImpl.
- *
+ *
* @param client the instance of the service client containing this operation class.
*/
OperationsClientImpl(SignalRManagementClientImpl client) {
- this.service =
- RestProxy.create(OperationsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.service
+ = RestProxy.create(OperationsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
this.client = client;
}
@@ -56,95 +62,70 @@ public final class OperationsClientImpl implements OperationsClient {
@Host("{$host}")
@ServiceInterface(name = "SignalRManagementCli")
public interface OperationsService {
- @Headers({"Content-Type: application/json"})
+ @Headers({ "Content-Type: application/json" })
@Get("/providers/Microsoft.SignalRService/operations")
- @ExpectedResponses({200})
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> list(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept,
- Context context);
+ Mono> list(@HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context);
- @Headers({"Content-Type: application/json"})
+ @Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
- @ExpectedResponses({200})
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> listNext(
- @PathParam(value = "nextLink", encoded = true) String nextLink,
- @HostParam("$host") String endpoint,
- @HeaderParam("Accept") String accept,
- Context context);
+ Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context);
}
/**
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- *
+ *
* @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 along with {@link PagedResponse} on successful
- * completion of {@link Mono}.
+ * completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync() {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
final String accept = "application/json";
return FluxUtil
.withContext(
context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(), accept, context))
- .>map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
+ res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- *
+ *
* @param context The context to associate with this operation.
* @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 along with {@link PagedResponse} on successful
- * completion of {@link Mono}.
+ * completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
final String accept = "application/json";
context = this.client.mergeContext(context);
- return service
- .list(this.client.getEndpoint(), this.client.getApiVersion(), accept, context)
- .map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null));
+ return service.list(this.client.getEndpoint(), this.client.getApiVersion(), accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), res.getValue().nextLink(), null));
}
/**
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- *
+ *
* @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 as paginated response with {@link PagedFlux}.
@@ -156,7 +137,7 @@ private PagedFlux listAsync() {
/**
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -165,13 +146,13 @@ private PagedFlux listAsync() {
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listAsync(Context context) {
- return new PagedFlux<>(
- () -> listSinglePageAsync(context), nextLink -> listNextSinglePageAsync(nextLink, context));
+ return new PagedFlux<>(() -> listSinglePageAsync(context),
+ nextLink -> listNextSinglePageAsync(nextLink, context));
}
/**
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- *
+ *
* @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 as paginated response with {@link PagedIterable}.
@@ -183,7 +164,7 @@ public PagedIterable list() {
/**
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -197,14 +178,15 @@ public PagedIterable list(Context context) {
/**
* Get the next page of items.
- *
+ *
* @param nextLink The URL to get the next list of items
- * The nextLink parameter.
+ *
+ * The nextLink parameter.
* @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 along with {@link PagedResponse} on successful
- * completion of {@link Mono}.
+ * completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink) {
@@ -212,37 +194,28 @@ private Mono> listNextSinglePageAsync(String nextL
return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
}
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context))
- .>map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null))
+ return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
+ res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Get the next page of items.
- *
+ *
* @param nextLink The URL to get the next list of items
- * The nextLink parameter.
+ *
+ * The nextLink parameter.
* @param context The context to associate with this operation.
* @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 along with {@link PagedResponse} on successful
- * completion of {@link Mono}.
+ * completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink, Context context) {
@@ -250,23 +223,13 @@ private Mono> listNextSinglePageAsync(String nextL
return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
}
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
final String accept = "application/json";
context = this.client.mergeContext(context);
- return service
- .listNext(nextLink, this.client.getEndpoint(), accept, context)
- .map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null));
+ return service.listNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), res.getValue().nextLink(), null));
}
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsImpl.java
index 49f2965eaa8fe..8e73d8c1d331c 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsImpl.java
@@ -19,20 +19,20 @@ public final class OperationsImpl implements Operations {
private final com.azure.resourcemanager.signalr.SignalRManager serviceManager;
- public OperationsImpl(
- OperationsClient innerClient, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
+ public OperationsImpl(OperationsClient innerClient,
+ com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
public PagedIterable list() {
PagedIterable inner = this.serviceClient().list();
- return Utils.mapPage(inner, inner1 -> new OperationImpl(inner1, this.manager()));
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new OperationImpl(inner1, this.manager()));
}
public PagedIterable list(Context context) {
PagedIterable inner = this.serviceClient().list(context);
- return Utils.mapPage(inner, inner1 -> new OperationImpl(inner1, this.manager()));
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new OperationImpl(inner1, this.manager()));
}
private OperationsClient serviceClient() {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/PrivateEndpointConnectionImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/PrivateEndpointConnectionImpl.java
index 9d2d114a6e18c..8250a4305df71 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/PrivateEndpointConnectionImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/PrivateEndpointConnectionImpl.java
@@ -18,8 +18,8 @@ public final class PrivateEndpointConnectionImpl implements PrivateEndpointConne
private final com.azure.resourcemanager.signalr.SignalRManager serviceManager;
- PrivateEndpointConnectionImpl(
- PrivateEndpointConnectionInner innerObject, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
+ PrivateEndpointConnectionImpl(PrivateEndpointConnectionInner innerObject,
+ com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/PrivateLinkResourceImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/PrivateLinkResourceImpl.java
index fa4d9d2bed981..8e77691c4d565 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/PrivateLinkResourceImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/PrivateLinkResourceImpl.java
@@ -16,8 +16,8 @@ public final class PrivateLinkResourceImpl implements PrivateLinkResource {
private final com.azure.resourcemanager.signalr.SignalRManager serviceManager;
- PrivateLinkResourceImpl(
- PrivateLinkResourceInner innerObject, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
+ PrivateLinkResourceImpl(PrivateLinkResourceInner innerObject,
+ com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/ReplicaImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/ReplicaImpl.java
index 4cff29824e9c8..69e20d8ab77ec 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/ReplicaImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/ReplicaImpl.java
@@ -97,20 +97,16 @@ public ReplicaImpl withExistingSignalR(String resourceGroupName, String resource
}
public Replica create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRReplicas()
- .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicas()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
return this;
}
public Replica create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRReplicas()
- .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicas()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
return this;
}
@@ -125,48 +121,40 @@ public ReplicaImpl update() {
}
public Replica apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRReplicas()
- .update(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicas()
+ .update(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
return this;
}
public Replica apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRReplicas()
- .update(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicas()
+ .update(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
return this;
}
ReplicaImpl(ReplicaInner innerObject, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
- this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.resourceName = Utils.getValueFromIdByName(innerObject.id(), "signalR");
- this.replicaName = Utils.getValueFromIdByName(innerObject.id(), "replicas");
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "signalR");
+ this.replicaName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "replicas");
}
public Replica refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRReplicas()
- .getWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicas()
+ .getWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE)
+ .getValue();
return this;
}
public Replica refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRReplicas()
- .getWithResponse(resourceGroupName, resourceName, replicaName, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicas()
+ .getWithResponse(resourceGroupName, resourceName, replicaName, context)
+ .getValue();
return this;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/Utils.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/ResourceManagerUtils.java
similarity index 90%
rename from sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/Utils.java
rename to sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/ResourceManagerUtils.java
index 0b2565688e510..e57180c063b66 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/Utils.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/ResourceManagerUtils.java
@@ -19,8 +19,8 @@
import java.util.stream.Stream;
import reactor.core.publisher.Flux;
-final class Utils {
- private Utils() {
+final class ResourceManagerUtils {
+ private ResourceManagerUtils() {
}
static String getValueFromIdByName(String id, String name) {
@@ -87,26 +87,17 @@ private static final class PagedIterableImpl extends PagedIterable {
private final Function, PagedResponse> pageMapper;
private PagedIterableImpl(PagedIterable pagedIterable, Function mapper) {
- super(
- PagedFlux
- .create(
- () ->
- (continuationToken, pageSize) ->
- Flux.fromStream(pagedIterable.streamByPage().map(getPageMapper(mapper)))));
+ super(PagedFlux.create(() -> (continuationToken, pageSize) -> Flux
+ .fromStream(pagedIterable.streamByPage().map(getPageMapper(mapper)))));
this.pagedIterable = pagedIterable;
this.mapper = mapper;
this.pageMapper = getPageMapper(mapper);
}
private static Function, PagedResponse> getPageMapper(Function mapper) {
- return page ->
- new PagedResponseBase(
- page.getRequest(),
- page.getStatusCode(),
- page.getHeaders(),
- page.getElements().stream().map(mapper).collect(Collectors.toList()),
- page.getContinuationToken(),
- null);
+ return page -> new PagedResponseBase(page.getRequest(), page.getStatusCode(), page.getHeaders(),
+ page.getElements().stream().map(mapper).collect(Collectors.toList()), page.getContinuationToken(),
+ null);
}
@Override
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SharedPrivateLinkResourceImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SharedPrivateLinkResourceImpl.java
index 14ef1aec11bfa..43ad7e19b86eb 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SharedPrivateLinkResourceImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SharedPrivateLinkResourceImpl.java
@@ -65,35 +65,35 @@ private com.azure.resourcemanager.signalr.SignalRManager manager() {
return this.serviceManager;
}
- private String sharedPrivateLinkResourceName;
-
private String resourceGroupName;
private String resourceName;
- public SharedPrivateLinkResourceImpl withExistingSignalR(String resourceGroupName, String resourceName) {
+ private String replicaName;
+
+ private String sharedPrivateLinkResourceName;
+
+ public SharedPrivateLinkResourceImpl withExistingReplica(String resourceGroupName, String resourceName,
+ String replicaName) {
this.resourceGroupName = resourceGroupName;
this.resourceName = resourceName;
+ this.replicaName = replicaName;
return this;
}
public SharedPrivateLinkResource create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRSharedPrivateLinkResources()
- .createOrUpdate(
- sharedPrivateLinkResourceName, resourceGroupName, resourceName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicaSharedPrivateLinkResources()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName,
+ this.innerModel(), Context.NONE);
return this;
}
public SharedPrivateLinkResource create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRSharedPrivateLinkResources()
- .createOrUpdate(
- sharedPrivateLinkResourceName, resourceGroupName, resourceName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicaSharedPrivateLinkResources()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName,
+ this.innerModel(), context);
return this;
}
@@ -108,51 +108,45 @@ public SharedPrivateLinkResourceImpl update() {
}
public SharedPrivateLinkResource apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRSharedPrivateLinkResources()
- .createOrUpdate(
- sharedPrivateLinkResourceName, resourceGroupName, resourceName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicaSharedPrivateLinkResources()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName,
+ this.innerModel(), Context.NONE);
return this;
}
public SharedPrivateLinkResource apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRSharedPrivateLinkResources()
- .createOrUpdate(
- sharedPrivateLinkResourceName, resourceGroupName, resourceName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicaSharedPrivateLinkResources()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName,
+ this.innerModel(), context);
return this;
}
- SharedPrivateLinkResourceImpl(
- SharedPrivateLinkResourceInner innerObject, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
+ SharedPrivateLinkResourceImpl(SharedPrivateLinkResourceInner innerObject,
+ com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
- this.sharedPrivateLinkResourceName = Utils.getValueFromIdByName(innerObject.id(), "sharedPrivateLinkResources");
- this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.resourceName = Utils.getValueFromIdByName(innerObject.id(), "signalR");
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "signalR");
+ this.replicaName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "replicas");
+ this.sharedPrivateLinkResourceName
+ = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "sharedPrivateLinkResources");
}
public SharedPrivateLinkResource refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRSharedPrivateLinkResources()
- .getWithResponse(sharedPrivateLinkResourceName, resourceGroupName, resourceName, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicaSharedPrivateLinkResources()
+ .getWithResponse(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName, Context.NONE)
+ .getValue();
return this;
}
public SharedPrivateLinkResource refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getSignalRSharedPrivateLinkResources()
- .getWithResponse(sharedPrivateLinkResourceName, resourceGroupName, resourceName, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getSignalRReplicaSharedPrivateLinkResources()
+ .getWithResponse(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName, context)
+ .getValue();
return this;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
index 9a55a6feaf615..49772262f233d 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
@@ -38,24 +38,28 @@
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
-/** An instance of this class provides access to all the operations defined in SignalRCustomCertificatesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SignalRCustomCertificatesClient.
+ */
public final class SignalRCustomCertificatesClientImpl implements SignalRCustomCertificatesClient {
- /** The proxy service used to perform REST calls. */
+ /**
+ * The proxy service used to perform REST calls.
+ */
private final SignalRCustomCertificatesService service;
- /** The service client containing this operation class. */
+ /**
+ * The service client containing this operation class.
+ */
private final SignalRManagementClientImpl client;
/**
* Initializes an instance of SignalRCustomCertificatesClientImpl.
- *
+ *
* @param client the instance of the service client containing this operation class.
*/
SignalRCustomCertificatesClientImpl(SignalRManagementClientImpl client) {
- this.service =
- RestProxy
- .create(
- SignalRCustomCertificatesService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.service = RestProxy.create(SignalRCustomCertificatesService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
this.client = client;
}
@@ -66,80 +70,57 @@ public final class SignalRCustomCertificatesClientImpl implements SignalRCustomC
@Host("{$host}")
@ServiceInterface(name = "SignalRManagementCli")
public interface SignalRCustomCertificatesService {
- @Headers({"Content-Type: application/json"})
- @Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates")
- @ExpectedResponses({200})
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates")
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> list(
- @HostParam("$host") String endpoint,
+ Mono> list(@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("resourceName") String resourceName,
- @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept,
- Context context);
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
+ @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context);
- @Headers({"Content-Type: application/json"})
- @Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}")
- @ExpectedResponses({200})
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}")
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> get(
- @HostParam("$host") String endpoint,
+ Mono> get(@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("resourceName") String resourceName,
- @PathParam("certificateName") String certificateName,
- @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept,
- Context context);
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
+ @PathParam("certificateName") String certificateName, @QueryParam("api-version") String apiVersion,
+ @HeaderParam("Accept") String accept, Context context);
- @Headers({"Content-Type: application/json"})
- @Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}")
- @ExpectedResponses({200, 201})
+ @Headers({ "Content-Type: application/json" })
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}")
+ @ExpectedResponses({ 200, 201 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> createOrUpdate(
- @HostParam("$host") String endpoint,
+ Mono>> createOrUpdate(@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("resourceName") String resourceName,
- @PathParam("certificateName") String certificateName,
- @QueryParam("api-version") String apiVersion,
- @BodyParam("application/json") CustomCertificateInner parameters,
- @HeaderParam("Accept") String accept,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
+ @PathParam("certificateName") String certificateName, @QueryParam("api-version") String apiVersion,
+ @BodyParam("application/json") CustomCertificateInner parameters, @HeaderParam("Accept") String accept,
Context context);
- @Headers({"Content-Type: application/json"})
- @Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}")
- @ExpectedResponses({200, 204})
+ @Headers({ "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}")
+ @ExpectedResponses({ 200, 204 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> delete(
- @HostParam("$host") String endpoint,
+ Mono> delete(@HostParam("$host") String endpoint,
@PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("resourceName") String resourceName,
- @PathParam("certificateName") String certificateName,
- @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept,
- Context context);
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
+ @PathParam("certificateName") String certificateName, @QueryParam("api-version") String apiVersion,
+ @HeaderParam("Accept") String accept, Context context);
- @Headers({"Content-Type: application/json"})
+ @Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
- @ExpectedResponses({200})
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> listNext(
- @PathParam(value = "nextLink", encoded = true) String nextLink,
- @HostParam("$host") String endpoint,
- @HeaderParam("Accept") String accept,
- Context context);
+ Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context);
}
/**
* List all custom certificates.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -148,19 +129,15 @@ Mono> listNext(
* @return custom certificates list along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync(
- String resourceGroupName, String resourceName) {
+ private Mono> listSinglePageAsync(String resourceGroupName,
+ String resourceName) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -171,32 +148,16 @@ private Mono> listSinglePageAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .list(
- this.client.getEndpoint(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- resourceName,
- this.client.getApiVersion(),
- accept,
- context))
- .>map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null))
+ .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(),
+ resourceGroupName, resourceName, this.client.getApiVersion(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* List all custom certificates.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -206,19 +167,15 @@ private Mono> listSinglePageAsync(
* @return custom certificates list along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync(
- String resourceGroupName, String resourceName, Context context) {
+ private Mono> listSinglePageAsync(String resourceGroupName,
+ String resourceName, Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -230,28 +187,15 @@ private Mono> listSinglePageAsync(
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
- .list(
- this.client.getEndpoint(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- resourceName,
- this.client.getApiVersion(),
- accept,
- context)
- .map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null));
+ .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, resourceName,
+ this.client.getApiVersion(), accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), res.getValue().nextLink(), null));
}
/**
* List all custom certificates.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -261,13 +205,13 @@ private Mono> listSinglePageAsync(
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listAsync(String resourceGroupName, String resourceName) {
- return new PagedFlux<>(
- () -> listSinglePageAsync(resourceGroupName, resourceName), nextLink -> listNextSinglePageAsync(nextLink));
+ return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, resourceName),
+ nextLink -> listNextSinglePageAsync(nextLink));
}
/**
* List all custom certificates.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -277,16 +221,15 @@ private PagedFlux listAsync(String resourceGroupName, St
* @return custom certificates list as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(
- String resourceGroupName, String resourceName, Context context) {
- return new PagedFlux<>(
- () -> listSinglePageAsync(resourceGroupName, resourceName, context),
+ private PagedFlux listAsync(String resourceGroupName, String resourceName,
+ Context context) {
+ return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, resourceName, context),
nextLink -> listNextSinglePageAsync(nextLink, context));
}
/**
* List all custom certificates.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -301,7 +244,7 @@ public PagedIterable list(String resourceGroupName, Stri
/**
* List all custom certificates.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
@@ -317,7 +260,7 @@ public PagedIterable list(String resourceGroupName, Stri
/**
* Get a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -327,19 +270,15 @@ public PagedIterable list(String resourceGroupName, Stri
* @return a custom certificate along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(
- String resourceGroupName, String resourceName, String certificateName) {
+ private Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
+ String certificateName) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -354,24 +293,14 @@ private Mono> getWithResponseAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .get(
- this.client.getEndpoint(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- resourceName,
- certificateName,
- this.client.getApiVersion(),
- accept,
- context))
+ .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(),
+ resourceGroupName, resourceName, certificateName, this.client.getApiVersion(), accept, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Get a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -382,19 +311,15 @@ private Mono> getWithResponseAsync(
* @return a custom certificate along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(
- String resourceGroupName, String resourceName, String certificateName, Context context) {
+ private Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
+ String certificateName, Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -409,21 +334,13 @@ private Mono> getWithResponseAsync(
}
final String accept = "application/json";
context = this.client.mergeContext(context);
- return service
- .get(
- this.client.getEndpoint(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- resourceName,
- certificateName,
- this.client.getApiVersion(),
- accept,
- context);
+ return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, resourceName,
+ certificateName, this.client.getApiVersion(), accept, context);
}
/**
* Get a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -433,15 +350,15 @@ private Mono> getWithResponseAsync(
* @return a custom certificate on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono getAsync(
- String resourceGroupName, String resourceName, String certificateName) {
+ private Mono getAsync(String resourceGroupName, String resourceName,
+ String certificateName) {
return getWithResponseAsync(resourceGroupName, resourceName, certificateName)
.flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
* Get a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -452,14 +369,14 @@ private Mono getAsync(
* @return a custom certificate along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String resourceName, String certificateName, Context context) {
+ public Response getWithResponse(String resourceGroupName, String resourceName,
+ String certificateName, Context context) {
return getWithResponseAsync(resourceGroupName, resourceName, certificateName, context).block();
}
/**
* Get a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -475,7 +392,7 @@ public CustomCertificateInner get(String resourceGroupName, String resourceName,
/**
* Create or update a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -486,19 +403,15 @@ public CustomCertificateInner get(String resourceGroupName, String resourceName,
* @return a custom certificate along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> createOrUpdateWithResponseAsync(
- String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters) {
+ private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String resourceName, String certificateName, CustomCertificateInner parameters) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
if (this.client.getSubscriptionId() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -518,25 +431,15 @@ private Mono>> createOrUpdateWithResponseAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .createOrUpdate(
- this.client.getEndpoint(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- resourceName,
- certificateName,
- this.client.getApiVersion(),
- parameters,
- accept,
- context))
+ .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(),
+ resourceGroupName, resourceName, certificateName, this.client.getApiVersion(), parameters, accept,
+ context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Create or update a custom certificate.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
@@ -548,23 +451,15 @@ private Mono>> createOrUpdateWithResponseAsync(
* @return a custom certificate along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono