net.bytebuddy
byte-buddy
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java
index f4ae414a2bd7..19b630247728 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.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;
@@ -32,6 +32,7 @@
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubManagementClientBuilder;
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubPrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubPrivateLinkResourcesImpl;
+import com.azure.resourcemanager.webpubsub.implementation.WebPubSubReplicaSharedPrivateLinkResourcesImpl;
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubReplicasImpl;
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubSharedPrivateLinkResourcesImpl;
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubsImpl;
@@ -43,8 +44,9 @@
import com.azure.resourcemanager.webpubsub.models.WebPubSubPrivateEndpointConnections;
import com.azure.resourcemanager.webpubsub.models.WebPubSubPrivateLinkResources;
import com.azure.resourcemanager.webpubsub.models.WebPubSubReplicas;
-import com.azure.resourcemanager.webpubsub.models.WebPubSubSharedPrivateLinkResources;
+import com.azure.resourcemanager.webpubsub.models.WebPubSubReplicaSharedPrivateLinkResources;
import com.azure.resourcemanager.webpubsub.models.WebPubSubs;
+import com.azure.resourcemanager.webpubsub.models.WebPubSubSharedPrivateLinkResources;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
@@ -52,7 +54,10 @@
import java.util.Objects;
import java.util.stream.Collectors;
-/** Entry point to WebPubSubManager. REST API for Azure WebPubSub Service. */
+/**
+ * Entry point to WebPubSubManager.
+ * REST API for Azure WebPubSub Service.
+ */
public final class WebPubSubManager {
private Operations operations;
@@ -72,6 +77,8 @@ public final class WebPubSubManager {
private WebPubSubReplicas webPubSubReplicas;
+ private WebPubSubReplicaSharedPrivateLinkResources webPubSubReplicaSharedPrivateLinkResources;
+
private WebPubSubSharedPrivateLinkResources webPubSubSharedPrivateLinkResources;
private final WebPubSubManagementClient clientObject;
@@ -79,18 +86,16 @@ public final class WebPubSubManager {
private WebPubSubManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new WebPubSubManagementClientBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new WebPubSubManagementClientBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
}
/**
* Creates an instance of WebPubSub service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the WebPubSub service API instance.
@@ -103,7 +108,7 @@ public static WebPubSubManager authenticate(TokenCredential credential, AzurePro
/**
* Creates an instance of WebPubSub service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the WebPubSub service API instance.
@@ -116,14 +121,16 @@ public static WebPubSubManager authenticate(HttpPipeline httpPipeline, AzureProf
/**
* Gets a Configurable instance that can be used to create WebPubSubManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new WebPubSubManager.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);
@@ -195,8 +202,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.
@@ -213,8 +220,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"));
@@ -234,15 +241,13 @@ public WebPubSubManager authenticate(TokenCredential credential, AzureProfile pr
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
+ userAgentBuilder.append("azsdk-java")
.append("-")
.append("com.azure.resourcemanager.webpubsub")
.append("/")
- .append("1.1.0-beta.2");
+ .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"))
@@ -267,38 +272,28 @@ public WebPubSubManager authenticate(TokenCredential credential, AzureProfile pr
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 WebPubSubManager(httpPipeline, profile, defaultPollInterval);
}
}
/**
* Gets the resource collection API of Operations.
- *
+ *
* @return Resource collection API of Operations.
*/
public Operations operations() {
@@ -310,7 +305,7 @@ public Operations operations() {
/**
* Gets the resource collection API of WebPubSubs. It manages WebPubSubResource.
- *
+ *
* @return Resource collection API of WebPubSubs.
*/
public WebPubSubs webPubSubs() {
@@ -322,7 +317,7 @@ public WebPubSubs webPubSubs() {
/**
* Gets the resource collection API of Usages.
- *
+ *
* @return Resource collection API of Usages.
*/
public Usages usages() {
@@ -334,33 +329,33 @@ public Usages usages() {
/**
* Gets the resource collection API of WebPubSubCustomCertificates. It manages CustomCertificate.
- *
+ *
* @return Resource collection API of WebPubSubCustomCertificates.
*/
public WebPubSubCustomCertificates webPubSubCustomCertificates() {
if (this.webPubSubCustomCertificates == null) {
- this.webPubSubCustomCertificates =
- new WebPubSubCustomCertificatesImpl(clientObject.getWebPubSubCustomCertificates(), this);
+ this.webPubSubCustomCertificates
+ = new WebPubSubCustomCertificatesImpl(clientObject.getWebPubSubCustomCertificates(), this);
}
return webPubSubCustomCertificates;
}
/**
* Gets the resource collection API of WebPubSubCustomDomains. It manages CustomDomain.
- *
+ *
* @return Resource collection API of WebPubSubCustomDomains.
*/
public WebPubSubCustomDomains webPubSubCustomDomains() {
if (this.webPubSubCustomDomains == null) {
- this.webPubSubCustomDomains =
- new WebPubSubCustomDomainsImpl(clientObject.getWebPubSubCustomDomains(), this);
+ this.webPubSubCustomDomains
+ = new WebPubSubCustomDomainsImpl(clientObject.getWebPubSubCustomDomains(), this);
}
return webPubSubCustomDomains;
}
/**
* Gets the resource collection API of WebPubSubHubs. It manages WebPubSubHub.
- *
+ *
* @return Resource collection API of WebPubSubHubs.
*/
public WebPubSubHubs webPubSubHubs() {
@@ -372,34 +367,33 @@ public WebPubSubHubs webPubSubHubs() {
/**
* Gets the resource collection API of WebPubSubPrivateEndpointConnections.
- *
+ *
* @return Resource collection API of WebPubSubPrivateEndpointConnections.
*/
public WebPubSubPrivateEndpointConnections webPubSubPrivateEndpointConnections() {
if (this.webPubSubPrivateEndpointConnections == null) {
- this.webPubSubPrivateEndpointConnections =
- new WebPubSubPrivateEndpointConnectionsImpl(
- clientObject.getWebPubSubPrivateEndpointConnections(), this);
+ this.webPubSubPrivateEndpointConnections = new WebPubSubPrivateEndpointConnectionsImpl(
+ clientObject.getWebPubSubPrivateEndpointConnections(), this);
}
return webPubSubPrivateEndpointConnections;
}
/**
* Gets the resource collection API of WebPubSubPrivateLinkResources.
- *
+ *
* @return Resource collection API of WebPubSubPrivateLinkResources.
*/
public WebPubSubPrivateLinkResources webPubSubPrivateLinkResources() {
if (this.webPubSubPrivateLinkResources == null) {
- this.webPubSubPrivateLinkResources =
- new WebPubSubPrivateLinkResourcesImpl(clientObject.getWebPubSubPrivateLinkResources(), this);
+ this.webPubSubPrivateLinkResources
+ = new WebPubSubPrivateLinkResourcesImpl(clientObject.getWebPubSubPrivateLinkResources(), this);
}
return webPubSubPrivateLinkResources;
}
/**
* Gets the resource collection API of WebPubSubReplicas. It manages Replica.
- *
+ *
* @return Resource collection API of WebPubSubReplicas.
*/
public WebPubSubReplicas webPubSubReplicas() {
@@ -410,15 +404,28 @@ public WebPubSubReplicas webPubSubReplicas() {
}
/**
- * Gets the resource collection API of WebPubSubSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
- *
+ * Gets the resource collection API of WebPubSubReplicaSharedPrivateLinkResources. It manages
+ * SharedPrivateLinkResource.
+ *
+ * @return Resource collection API of WebPubSubReplicaSharedPrivateLinkResources.
+ */
+ public WebPubSubReplicaSharedPrivateLinkResources webPubSubReplicaSharedPrivateLinkResources() {
+ if (this.webPubSubReplicaSharedPrivateLinkResources == null) {
+ this.webPubSubReplicaSharedPrivateLinkResources = new WebPubSubReplicaSharedPrivateLinkResourcesImpl(
+ clientObject.getWebPubSubReplicaSharedPrivateLinkResources(), this);
+ }
+ return webPubSubReplicaSharedPrivateLinkResources;
+ }
+
+ /**
+ * Gets the resource collection API of WebPubSubSharedPrivateLinkResources.
+ *
* @return Resource collection API of WebPubSubSharedPrivateLinkResources.
*/
public WebPubSubSharedPrivateLinkResources webPubSubSharedPrivateLinkResources() {
if (this.webPubSubSharedPrivateLinkResources == null) {
- this.webPubSubSharedPrivateLinkResources =
- new WebPubSubSharedPrivateLinkResourcesImpl(
- clientObject.getWebPubSubSharedPrivateLinkResources(), this);
+ this.webPubSubSharedPrivateLinkResources = new WebPubSubSharedPrivateLinkResourcesImpl(
+ clientObject.getWebPubSubSharedPrivateLinkResources(), this);
}
return webPubSubSharedPrivateLinkResources;
}
@@ -426,7 +433,7 @@ public WebPubSubSharedPrivateLinkResources webPubSubSharedPrivateLinkResources()
/**
* Gets wrapped service client WebPubSubManagementClient providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
- *
+ *
* @return Wrapped service client WebPubSubManagementClient.
*/
public WebPubSubManagementClient serviceClient() {
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/OperationsClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/OperationsClient.java
index 90bdf89c2ba2..4e37ffd7b1ef 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/OperationsClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/OperationsClient.java
@@ -10,11 +10,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/UsagesClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/UsagesClient.java
index b3518388b313..c3617e9dbffe 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/UsagesClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/UsagesClient.java
@@ -10,31 +10,33 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.webpubsub.fluent.models.SignalRServiceUsageInner;
-/** 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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomCertificatesClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomCertificatesClient.java
index 5dac2b46db40..19ffba3aef08 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomCertificatesClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomCertificatesClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.webpubsub.fluent.models.CustomCertificateInner;
-/** An instance of this class provides access to all the operations defined in WebPubSubCustomCertificatesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in WebPubSubCustomCertificatesClient.
+ */
public interface WebPubSubCustomCertificatesClient {
/**
* 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 WebPubSubCustomCertificatesClient {
/**
* 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 WebPubSubCustomCertificatesClient {
/**
* 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 WebPubSubCustomCertificatesClient {
* @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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomDomainsClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomDomainsClient.java
index 14ddbfbcb9ac..48b599c2d06e 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomDomainsClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomDomainsClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.webpubsub.fluent.models.CustomDomainInner;
-/** An instance of this class provides access to all the operations defined in WebPubSubCustomDomainsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in WebPubSubCustomDomainsClient.
+ */
public interface WebPubSubCustomDomainsClient {
/**
* 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 WebPubSubCustomDomainsClient {
/**
* 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 WebPubSubCustomDomainsClient {
/**
* 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 WebPubSubCustomDomainsClient {
* @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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubHubsClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubHubsClient.java
index d3f7c561b72b..39e7f6c3e6e5 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubHubsClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubHubsClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.webpubsub.fluent.models.WebPubSubHubInner;
-/** An instance of this class provides access to all the operations defined in WebPubSubHubsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in WebPubSubHubsClient.
+ */
public interface WebPubSubHubsClient {
/**
* List hub settings.
- *
+ *
* @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 WebPubSubHubsClient {
/**
* List hub settings.
- *
+ *
* @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 WebPubSubHubsClient {
/**
* Get a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -55,12 +57,12 @@ public interface WebPubSubHubsClient {
* @return a hub setting along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String hubName, String resourceGroupName, String resourceName, Context context);
+ Response getWithResponse(String hubName, String resourceGroupName, String resourceName,
+ Context context);
/**
* Get a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -74,7 +76,7 @@ Response getWithResponse(
/**
* Create or update a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -85,12 +87,12 @@ Response getWithResponse(
* @return the {@link SyncPoller} for polling of a hub setting.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WebPubSubHubInner> beginCreateOrUpdate(
- String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters);
+ SyncPoller, WebPubSubHubInner> beginCreateOrUpdate(String hubName,
+ String resourceGroupName, String resourceName, WebPubSubHubInner parameters);
/**
* Create or update a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -102,12 +104,12 @@ SyncPoller, WebPubSubHubInner> beginCreateOrUpdate
* @return the {@link SyncPoller} for polling of a hub setting.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WebPubSubHubInner> beginCreateOrUpdate(
- String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters, Context context);
+ SyncPoller, WebPubSubHubInner> beginCreateOrUpdate(String hubName,
+ String resourceGroupName, String resourceName, WebPubSubHubInner parameters, Context context);
/**
* Create or update a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -118,12 +120,12 @@ SyncPoller, WebPubSubHubInner> beginCreateOrUpdate
* @return a hub setting.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WebPubSubHubInner createOrUpdate(
- String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters);
+ WebPubSubHubInner createOrUpdate(String hubName, String resourceGroupName, String resourceName,
+ WebPubSubHubInner parameters);
/**
* Create or update a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -135,12 +137,12 @@ WebPubSubHubInner createOrUpdate(
* @return a hub setting.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WebPubSubHubInner createOrUpdate(
- String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters, Context context);
+ WebPubSubHubInner createOrUpdate(String hubName, String resourceGroupName, String resourceName,
+ WebPubSubHubInner parameters, Context context);
/**
* Delete a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -154,7 +156,7 @@ WebPubSubHubInner createOrUpdate(
/**
* Delete a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -165,12 +167,12 @@ WebPubSubHubInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String hubName, String resourceGroupName, String resourceName, Context context);
+ SyncPoller, Void> beginDelete(String hubName, String resourceGroupName, String resourceName,
+ Context context);
/**
* Delete a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
@@ -183,7 +185,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete a hub setting.
- *
+ *
* @param hubName The hub name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubManagementClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubManagementClient.java
index 088e2053c105..752136bc55ac 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubManagementClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubManagementClient.java
@@ -7,109 +7,118 @@
import com.azure.core.http.HttpPipeline;
import java.time.Duration;
-/** The interface for WebPubSubManagementClient class. */
+/**
+ * The interface for WebPubSubManagementClient class.
+ */
public interface WebPubSubManagementClient {
/**
* 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 WebPubSubsClient object to access its operations.
- *
+ *
* @return the WebPubSubsClient object.
*/
WebPubSubsClient getWebPubSubs();
/**
* Gets the UsagesClient object to access its operations.
- *
+ *
* @return the UsagesClient object.
*/
UsagesClient getUsages();
/**
* Gets the WebPubSubCustomCertificatesClient object to access its operations.
- *
+ *
* @return the WebPubSubCustomCertificatesClient object.
*/
WebPubSubCustomCertificatesClient getWebPubSubCustomCertificates();
/**
* Gets the WebPubSubCustomDomainsClient object to access its operations.
- *
+ *
* @return the WebPubSubCustomDomainsClient object.
*/
WebPubSubCustomDomainsClient getWebPubSubCustomDomains();
/**
* Gets the WebPubSubHubsClient object to access its operations.
- *
+ *
* @return the WebPubSubHubsClient object.
*/
WebPubSubHubsClient getWebPubSubHubs();
/**
* Gets the WebPubSubPrivateEndpointConnectionsClient object to access its operations.
- *
+ *
* @return the WebPubSubPrivateEndpointConnectionsClient object.
*/
WebPubSubPrivateEndpointConnectionsClient getWebPubSubPrivateEndpointConnections();
/**
* Gets the WebPubSubPrivateLinkResourcesClient object to access its operations.
- *
+ *
* @return the WebPubSubPrivateLinkResourcesClient object.
*/
WebPubSubPrivateLinkResourcesClient getWebPubSubPrivateLinkResources();
/**
* Gets the WebPubSubReplicasClient object to access its operations.
- *
+ *
* @return the WebPubSubReplicasClient object.
*/
WebPubSubReplicasClient getWebPubSubReplicas();
+ /**
+ * Gets the WebPubSubReplicaSharedPrivateLinkResourcesClient object to access its operations.
+ *
+ * @return the WebPubSubReplicaSharedPrivateLinkResourcesClient object.
+ */
+ WebPubSubReplicaSharedPrivateLinkResourcesClient getWebPubSubReplicaSharedPrivateLinkResources();
+
/**
* Gets the WebPubSubSharedPrivateLinkResourcesClient object to access its operations.
- *
+ *
* @return the WebPubSubSharedPrivateLinkResourcesClient object.
*/
WebPubSubSharedPrivateLinkResourcesClient getWebPubSubSharedPrivateLinkResources();
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubPrivateEndpointConnectionsClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubPrivateEndpointConnectionsClient.java
index ca03028bf0c1..a79c2825c6d8 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubPrivateEndpointConnectionsClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubPrivateEndpointConnectionsClient.java
@@ -19,7 +19,7 @@
public interface WebPubSubPrivateEndpointConnectionsClient {
/**
* 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 WebPubSubPrivateEndpointConnectionsClient {
/**
* 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 WebPubSubPrivateEndpointConnectionsClient {
/**
* 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 WebPubSubPrivateEndpointConnectionsClient {
* @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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubPrivateLinkResourcesClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubPrivateLinkResourcesClient.java
index 45bce5befa4d..b67445a6be32 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubPrivateLinkResourcesClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubPrivateLinkResourcesClient.java
@@ -10,33 +10,35 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.webpubsub.fluent.models.PrivateLinkResourceInner;
-/** An instance of this class provides access to all the operations defined in WebPubSubPrivateLinkResourcesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in WebPubSubPrivateLinkResourcesClient.
+ */
public interface WebPubSubPrivateLinkResourcesClient {
/**
* 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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubReplicaSharedPrivateLinkResourcesClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubReplicaSharedPrivateLinkResourcesClient.java
new file mode 100644
index 000000000000..47538de646f5
--- /dev/null
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubReplicaSharedPrivateLinkResourcesClient.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.webpubsub.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.webpubsub.fluent.models.SharedPrivateLinkResourceInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * WebPubSubReplicaSharedPrivateLinkResourcesClient.
+ */
+public interface WebPubSubReplicaSharedPrivateLinkResourcesClient {
+ /**
+ * 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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubReplicasClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubReplicasClient.java
index 0e4898bdbb77..949fb97673cb 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubReplicasClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubReplicasClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.webpubsub.fluent.models.ReplicaInner;
-/** An instance of this class provides access to all the operations defined in WebPubSubReplicasClient. */
+/**
+ * An instance of this class provides access to all the operations defined in WebPubSubReplicasClient.
+ */
public interface WebPubSubReplicasClient {
/**
* 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 WebPubSubReplicasClient {
/**
* 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 WebPubSubReplicasClient {
/**
* 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 WebPubSubReplicasClient {
* @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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubSharedPrivateLinkResourcesClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubSharedPrivateLinkResourcesClient.java
index ef55efb72aa1..47decd79f702 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubSharedPrivateLinkResourcesClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubSharedPrivateLinkResourcesClient.java
@@ -19,7 +19,7 @@
public interface WebPubSubSharedPrivateLinkResourcesClient {
/**
* 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 WebPubSubSharedPrivateLinkResourcesClient {
/**
* 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 WebPubSubSharedPrivateLinkResourcesClient {
/**
* 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 WebPubSubSharedPrivateLinkResourcesClient {
* @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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubsClient.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubsClient.java
index b25a183ce80e..fbc803fe2334 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubsClient.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubsClient.java
@@ -18,11 +18,13 @@
import com.azure.resourcemanager.webpubsub.models.NameAvailabilityParameters;
import com.azure.resourcemanager.webpubsub.models.RegenerateKeyParameters;
-/** An instance of this class provides access to all the operations defined in WebPubSubsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in WebPubSubsClient.
+ */
public interface WebPubSubsClient {
/**
* 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 WebPubSubsClient {
* @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, WebPubSubResourceInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, WebPubSubResourceInner parameters);
+ SyncPoller, WebPubSubResourceInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, WebPubSubResourceInner 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, WebPubSubResourceInner> beginCrea
* @return the {@link SyncPoller} for polling of a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WebPubSubResourceInner> beginCreateOrUpdate(
- String resourceGroupName, String resourceName, WebPubSubResourceInner parameters, Context context);
+ SyncPoller, WebPubSubResourceInner> beginCreateOrUpdate(String resourceGroupName,
+ String resourceName, WebPubSubResourceInner 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.
@@ -170,12 +172,12 @@ SyncPoller, WebPubSubResourceInner> beginCrea
* @return a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WebPubSubResourceInner createOrUpdate(
- String resourceGroupName, String resourceName, WebPubSubResourceInner parameters);
+ WebPubSubResourceInner createOrUpdate(String resourceGroupName, String resourceName,
+ WebPubSubResourceInner 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.
@@ -186,12 +188,12 @@ WebPubSubResourceInner createOrUpdate(
* @return a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WebPubSubResourceInner createOrUpdate(
- String resourceGroupName, String resourceName, WebPubSubResourceInner parameters, Context context);
+ WebPubSubResourceInner createOrUpdate(String resourceGroupName, String resourceName,
+ WebPubSubResourceInner 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.
@@ -204,7 +206,7 @@ WebPubSubResourceInner 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.
@@ -218,7 +220,7 @@ WebPubSubResourceInner 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.
@@ -230,7 +232,7 @@ WebPubSubResourceInner 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.
@@ -243,7 +245,7 @@ WebPubSubResourceInner 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.
@@ -253,12 +255,12 @@ WebPubSubResourceInner createOrUpdate(
* @return the {@link SyncPoller} for polling of a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WebPubSubResourceInner> beginUpdate(
- String resourceGroupName, String resourceName, WebPubSubResourceInner parameters);
+ SyncPoller, WebPubSubResourceInner> beginUpdate(String resourceGroupName,
+ String resourceName, WebPubSubResourceInner 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.
@@ -269,12 +271,12 @@ SyncPoller, WebPubSubResourceInner> beginUpda
* @return the {@link SyncPoller} for polling of a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WebPubSubResourceInner> beginUpdate(
- String resourceGroupName, String resourceName, WebPubSubResourceInner parameters, Context context);
+ SyncPoller, WebPubSubResourceInner> beginUpdate(String resourceGroupName,
+ String resourceName, WebPubSubResourceInner 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.
@@ -288,7 +290,7 @@ SyncPoller, WebPubSubResourceInner> beginUpda
/**
* 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.
@@ -299,12 +301,12 @@ SyncPoller, WebPubSubResourceInner> beginUpda
* @return a class represent a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WebPubSubResourceInner update(
- String resourceGroupName, String resourceName, WebPubSubResourceInner parameters, Context context);
+ WebPubSubResourceInner update(String resourceGroupName, String resourceName, WebPubSubResourceInner 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.
@@ -318,7 +320,7 @@ WebPubSubResourceInner 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.
@@ -331,7 +333,7 @@ WebPubSubResourceInner 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.
@@ -341,12 +343,12 @@ WebPubSubResourceInner update(
* @return the {@link SyncPoller} for polling of a class represents the access keys of the resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WebPubSubKeysInner> beginRegenerateKey(
- String resourceGroupName, String resourceName, RegenerateKeyParameters parameters);
+ SyncPoller, WebPubSubKeysInner> 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.
@@ -357,12 +359,12 @@ SyncPoller, WebPubSubKeysInner> beginRegenerateKe
* @return the {@link SyncPoller} for polling of a class represents the access keys of the resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WebPubSubKeysInner> beginRegenerateKey(
- String resourceGroupName, String resourceName, RegenerateKeyParameters parameters, Context context);
+ SyncPoller, WebPubSubKeysInner> 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.
@@ -376,7 +378,7 @@ SyncPoller, WebPubSubKeysInner> beginRegenerateKe
/**
* 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.
@@ -387,12 +389,12 @@ SyncPoller, WebPubSubKeysInner> beginRegenerateKe
* @return a class represents the access keys of the resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WebPubSubKeysInner regenerateKey(
- String resourceGroupName, String resourceName, RegenerateKeyParameters parameters, Context context);
+ WebPubSubKeysInner 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.
@@ -403,12 +405,12 @@ WebPubSubKeysInner 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.
@@ -422,7 +424,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.
@@ -435,7 +437,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.
@@ -449,7 +451,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.
@@ -461,7 +463,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.
@@ -474,7 +476,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.
@@ -488,7 +490,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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomCertificateInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomCertificateInner.java
index 2e88bdde3efd..5fde9713d3d4 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomCertificateInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomCertificateInner.java
@@ -11,7 +11,9 @@
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomCertificateProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomCertificateProperties.java
index 1c6383c0f669..249e3efa08fd 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomCertificateProperties.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomCertificateProperties.java
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomDomainInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomDomainInner.java
index 07a463571d27..6612ea49a497 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomDomainInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomDomainInner.java
@@ -12,7 +12,9 @@
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomDomainProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomDomainProperties.java
index 99ee6115c780..30f2dbe2db16 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomDomainProperties.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/CustomDomainProperties.java
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/NameAvailabilityInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/NameAvailabilityInner.java
index 997c2f3acbfb..e1a5f49641e1 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/NameAvailabilityInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/OperationInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/OperationInner.java
index a9c61ee4fdf7..faac524a2ecb 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/OperationInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/OperationInner.java
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionInner.java
index fb737095aa3b..5363eaaa46fe 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionProperties.java
index a9347af361b3..c51fbfa376af 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateEndpointConnectionProperties.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceInner.java
index d26916a2123e..5c121a45e7d1 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceProperties.java
index d4c97c5c6d11..af5a471d33e0 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/PrivateLinkResourceProperties.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/ReplicaInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/ReplicaInner.java
index 69b00fe1283c..a958d936efb2 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/ReplicaInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/ReplicaProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/ReplicaProperties.java
index c224d0d9d87a..cf54823d6348 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/ReplicaProperties.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/ReplicaProperties.java
@@ -8,7 +8,9 @@
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceInner.java
index 5cd74f9ea568..5475fc5d99b0 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceInner.java
@@ -11,7 +11,9 @@
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceProperties.java
index 8bbd5c6dab1a..0f0688c6ce1c 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceProperties.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SharedPrivateLinkResourceProperties.java
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.webpubsub.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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SignalRServiceUsageInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SignalRServiceUsageInner.java
index f4986e30167f..44e016d4dc26 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SignalRServiceUsageInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SignalRServiceUsageInner.java
@@ -8,7 +8,9 @@
import com.azure.resourcemanager.webpubsub.models.SignalRServiceUsageName;
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 SignalRServiceUsageInner {
/*
@@ -36,19 +38,20 @@ public final class SignalRServiceUsageInner {
private SignalRServiceUsageName 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 SignalRServiceUsageInner class. */
+ /**
+ * Creates an instance of SignalRServiceUsageInner class.
+ */
public SignalRServiceUsageInner() {
}
/**
* 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 SignalRServiceUsageInner object itself.
*/
@@ -68,7 +71,7 @@ public SignalRServiceUsageInner 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 SignalRServiceUsageInner object itself.
*/
@@ -89,7 +92,7 @@ public SignalRServiceUsageInner 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 SignalRServiceUsageInner object itself.
*/
@@ -110,7 +113,7 @@ public SignalRServiceUsageInner withLimit(Long limit) {
/**
* Get the name property: Localizable String object containing the name and a localized value.
- *
+ *
* @return the name value.
*/
public SignalRServiceUsageName name() {
@@ -119,7 +122,7 @@ public SignalRServiceUsageName name() {
/**
* Set the name property: Localizable String object containing the name and a localized value.
- *
+ *
* @param name the name value to set.
* @return the SignalRServiceUsageInner object itself.
*/
@@ -131,7 +134,7 @@ public SignalRServiceUsageInner withName(SignalRServiceUsageName 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 SignalRServiceUsageInner object itself.
*/
@@ -152,7 +155,7 @@ public SignalRServiceUsageInner withUnit(String unit) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SkuListInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SkuListInner.java
index 203915dc1e28..dfc443d3f3a3 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/SkuListInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubHubInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubHubInner.java
index cc999412a27a..39ddd52571b1 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubHubInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubHubInner.java
@@ -11,7 +11,9 @@
import com.azure.resourcemanager.webpubsub.models.WebPubSubHubProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A hub setting. */
+/**
+ * A hub setting.
+ */
@Fluent
public final class WebPubSubHubInner extends ProxyResource {
/*
@@ -26,13 +28,15 @@ public final class WebPubSubHubInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of WebPubSubHubInner class. */
+ /**
+ * Creates an instance of WebPubSubHubInner class.
+ */
public WebPubSubHubInner() {
}
/**
* Get the properties property: Properties of a hub.
- *
+ *
* @return the properties value.
*/
public WebPubSubHubProperties properties() {
@@ -41,7 +45,7 @@ public WebPubSubHubProperties properties() {
/**
* Set the properties property: Properties of a hub.
- *
+ *
* @param properties the properties value to set.
* @return the WebPubSubHubInner object itself.
*/
@@ -52,7 +56,7 @@ public WebPubSubHubInner withProperties(WebPubSubHubProperties properties) {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -61,14 +65,13 @@ public SystemData systemData() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (properties() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException("Missing required property properties in model WebPubSubHubInner"));
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Missing required property properties in model WebPubSubHubInner"));
} else {
properties().validate();
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubKeysInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubKeysInner.java
index f41c4a121e67..11fecda11743 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubKeysInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubKeysInner.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 WebPubSubKeysInner {
/*
@@ -34,13 +36,15 @@ public final class WebPubSubKeysInner {
@JsonProperty(value = "secondaryConnectionString")
private String secondaryConnectionString;
- /** Creates an instance of WebPubSubKeysInner class. */
+ /**
+ * Creates an instance of WebPubSubKeysInner class.
+ */
public WebPubSubKeysInner() {
}
/**
* 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 WebPubSubKeysInner object itself.
*/
@@ -60,7 +64,7 @@ public WebPubSubKeysInner 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 WebPubSubKeysInner object itself.
*/
@@ -80,7 +84,7 @@ public WebPubSubKeysInner 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 WebPubSubKeysInner object itself.
*/
@@ -100,7 +104,7 @@ public WebPubSubKeysInner withPrimaryConnectionString(String primaryConnectionSt
/**
* 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 WebPubSubKeysInner object itself.
*/
@@ -120,7 +124,7 @@ public WebPubSubKeysInner withSecondaryConnectionString(String secondaryConnecti
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubProperties.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubProperties.java
index d4a8aaf989c9..79652ef2e204 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubProperties.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubProperties.java
@@ -9,11 +9,14 @@
import com.azure.resourcemanager.webpubsub.models.ProvisioningState;
import com.azure.resourcemanager.webpubsub.models.ResourceLogConfiguration;
import com.azure.resourcemanager.webpubsub.models.WebPubSubNetworkACLs;
+import com.azure.resourcemanager.webpubsub.models.WebPubSubSocketIOSettings;
import com.azure.resourcemanager.webpubsub.models.WebPubSubTlsSettings;
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 WebPubSubProperties {
/*
@@ -120,28 +123,35 @@ public final class WebPubSubProperties {
/*
* 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")
private String regionEndpointEnabled;
/*
- * Stop or start the resource. Default to "false".
+ * 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.
*/
@JsonProperty(value = "resourceStopped")
private String resourceStopped;
- /** Creates an instance of WebPubSubProperties class. */
+ /*
+ * SocketIO settings for the resource
+ */
+ @JsonProperty(value = "socketIO")
+ private WebPubSubSocketIOSettings socketIO;
+
+ /**
+ * Creates an instance of WebPubSubProperties class.
+ */
public WebPubSubProperties() {
}
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -150,7 +160,7 @@ public ProvisioningState provisioningState() {
/**
* Get the externalIp property: The publicly accessible IP of the resource.
- *
+ *
* @return the externalIp value.
*/
public String externalIp() {
@@ -159,7 +169,7 @@ public String externalIp() {
/**
* Get the hostname property: FQDN of the service instance.
- *
+ *
* @return the hostname value.
*/
public String hostname() {
@@ -169,7 +179,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() {
@@ -179,7 +189,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() {
@@ -188,7 +198,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() {
@@ -197,7 +207,7 @@ public String version() {
/**
* Get the privateEndpointConnections property: Private endpoint connections to the resource.
- *
+ *
* @return the privateEndpointConnections value.
*/
public List privateEndpointConnections() {
@@ -206,7 +216,7 @@ public List privateEndpointConnections() {
/**
* Get the sharedPrivateLinkResources property: The list of shared private link resources.
- *
+ *
* @return the sharedPrivateLinkResources value.
*/
public List sharedPrivateLinkResources() {
@@ -215,7 +225,7 @@ public List sharedPrivateLinkResources() {
/**
* Get the tls property: TLS settings for the resource.
- *
+ *
* @return the tls value.
*/
public WebPubSubTlsSettings tls() {
@@ -224,7 +234,7 @@ public WebPubSubTlsSettings tls() {
/**
* Set the tls property: TLS settings for the resource.
- *
+ *
* @param tls the tls value to set.
* @return the WebPubSubProperties object itself.
*/
@@ -235,7 +245,7 @@ public WebPubSubProperties withTls(WebPubSubTlsSettings tls) {
/**
* Get the hostnamePrefix property: Deprecated.
- *
+ *
* @return the hostnamePrefix value.
*/
public String hostnamePrefix() {
@@ -244,7 +254,7 @@ public String hostnamePrefix() {
/**
* Get the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.
- *
+ *
* @return the liveTraceConfiguration value.
*/
public LiveTraceConfiguration liveTraceConfiguration() {
@@ -253,7 +263,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 WebPubSubProperties object itself.
*/
@@ -264,7 +274,7 @@ public WebPubSubProperties withLiveTraceConfiguration(LiveTraceConfiguration liv
/**
* Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.
- *
+ *
* @return the resourceLogConfiguration value.
*/
public ResourceLogConfiguration resourceLogConfiguration() {
@@ -273,7 +283,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 WebPubSubProperties object itself.
*/
@@ -284,7 +294,7 @@ public WebPubSubProperties withResourceLogConfiguration(ResourceLogConfiguration
/**
* Get the networkACLs property: Network ACLs for the resource.
- *
+ *
* @return the networkACLs value.
*/
public WebPubSubNetworkACLs networkACLs() {
@@ -293,7 +303,7 @@ public WebPubSubNetworkACLs networkACLs() {
/**
* Set the networkACLs property: Network ACLs for the resource.
- *
+ *
* @param networkACLs the networkACLs value to set.
* @return the WebPubSubProperties object itself.
*/
@@ -303,10 +313,10 @@ public WebPubSubProperties withNetworkACLs(WebPubSubNetworkACLs 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() {
@@ -314,10 +324,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 WebPubSubProperties object itself.
*/
@@ -327,9 +337,10 @@ public WebPubSubProperties 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() {
@@ -337,9 +348,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 WebPubSubProperties object itself.
*/
@@ -349,9 +361,10 @@ public WebPubSubProperties 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() {
@@ -359,9 +372,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 WebPubSubProperties object itself.
*/
@@ -371,10 +385,11 @@ public WebPubSubProperties 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() {
@@ -382,10 +397,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 WebPubSubProperties object itself.
*/
@@ -395,9 +411,10 @@ public WebPubSubProperties withRegionEndpointEnabled(String regionEndpointEnable
}
/**
- * 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() {
@@ -405,9 +422,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 WebPubSubProperties object itself.
*/
@@ -416,9 +434,29 @@ public WebPubSubProperties withResourceStopped(String resourceStopped) {
return this;
}
+ /**
+ * Get the socketIO property: SocketIO settings for the resource.
+ *
+ * @return the socketIO value.
+ */
+ public WebPubSubSocketIOSettings socketIO() {
+ return this.socketIO;
+ }
+
+ /**
+ * Set the socketIO property: SocketIO settings for the resource.
+ *
+ * @param socketIO the socketIO value to set.
+ * @return the WebPubSubProperties object itself.
+ */
+ public WebPubSubProperties withSocketIO(WebPubSubSocketIOSettings socketIO) {
+ this.socketIO = socketIO;
+ return this;
+ }
+
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
@@ -440,5 +478,8 @@ public void validate() {
if (networkACLs() != null) {
networkACLs().validate();
}
+ if (socketIO() != null) {
+ socketIO().validate();
+ }
}
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubResourceInner.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubResourceInner.java
index fcc07f7a84b1..233bcde5bb99 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubResourceInner.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/WebPubSubResourceInner.java
@@ -14,12 +14,15 @@
import com.azure.resourcemanager.webpubsub.models.ResourceSku;
import com.azure.resourcemanager.webpubsub.models.ServiceKind;
import com.azure.resourcemanager.webpubsub.models.WebPubSubNetworkACLs;
+import com.azure.resourcemanager.webpubsub.models.WebPubSubSocketIOSettings;
import com.azure.resourcemanager.webpubsub.models.WebPubSubTlsSettings;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
-/** A class represent a resource. */
+/**
+ * A class represent a resource.
+ */
@Fluent
public final class WebPubSubResourceInner extends Resource {
/*
@@ -52,13 +55,15 @@ public final class WebPubSubResourceInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of WebPubSubResourceInner class. */
+ /**
+ * Creates an instance of WebPubSubResourceInner class.
+ */
public WebPubSubResourceInner() {
}
/**
* Get the sku property: The billing information of the resource.
- *
+ *
* @return the sku value.
*/
public ResourceSku sku() {
@@ -67,7 +72,7 @@ public ResourceSku sku() {
/**
* Set the sku property: The billing information of the resource.
- *
+ *
* @param sku the sku value to set.
* @return the WebPubSubResourceInner object itself.
*/
@@ -78,7 +83,7 @@ public WebPubSubResourceInner withSku(ResourceSku sku) {
/**
* Get the innerProperties property: A class that describes the properties of the resource.
- *
+ *
* @return the innerProperties value.
*/
private WebPubSubProperties innerProperties() {
@@ -87,7 +92,7 @@ private WebPubSubProperties innerProperties() {
/**
* Get the kind property: The kind of the service.
- *
+ *
* @return the kind value.
*/
public ServiceKind kind() {
@@ -96,7 +101,7 @@ public ServiceKind kind() {
/**
* Set the kind property: The kind of the service.
- *
+ *
* @param kind the kind value to set.
* @return the WebPubSubResourceInner object itself.
*/
@@ -107,7 +112,7 @@ public WebPubSubResourceInner withKind(ServiceKind kind) {
/**
* Get the identity property: A class represent managed identities used for request and response.
- *
+ *
* @return the identity value.
*/
public ManagedIdentity identity() {
@@ -116,7 +121,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 WebPubSubResourceInner object itself.
*/
@@ -127,21 +132,25 @@ public WebPubSubResourceInner 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 WebPubSubResourceInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public WebPubSubResourceInner withTags(Map tags) {
super.withTags(tags);
@@ -150,7 +159,7 @@ public WebPubSubResourceInner withTags(Map tags) {
/**
* Get the provisioningState property: Provisioning state of the resource.
- *
+ *
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
@@ -159,7 +168,7 @@ public ProvisioningState provisioningState() {
/**
* Get the externalIp property: The publicly accessible IP of the resource.
- *
+ *
* @return the externalIp value.
*/
public String externalIp() {
@@ -168,7 +177,7 @@ public String externalIp() {
/**
* Get the hostname property: FQDN of the service instance.
- *
+ *
* @return the hostname value.
*/
public String hostname() {
@@ -178,7 +187,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() {
@@ -188,7 +197,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() {
@@ -197,7 +206,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() {
@@ -206,7 +215,7 @@ public String version() {
/**
* Get the privateEndpointConnections property: Private endpoint connections to the resource.
- *
+ *
* @return the privateEndpointConnections value.
*/
public List privateEndpointConnections() {
@@ -215,7 +224,7 @@ public List privateEndpointConnections() {
/**
* Get the sharedPrivateLinkResources property: The list of shared private link resources.
- *
+ *
* @return the sharedPrivateLinkResources value.
*/
public List sharedPrivateLinkResources() {
@@ -224,7 +233,7 @@ public List sharedPrivateLinkResources() {
/**
* Get the tls property: TLS settings for the resource.
- *
+ *
* @return the tls value.
*/
public WebPubSubTlsSettings tls() {
@@ -233,7 +242,7 @@ public WebPubSubTlsSettings tls() {
/**
* Set the tls property: TLS settings for the resource.
- *
+ *
* @param tls the tls value to set.
* @return the WebPubSubResourceInner object itself.
*/
@@ -247,7 +256,7 @@ public WebPubSubResourceInner withTls(WebPubSubTlsSettings tls) {
/**
* Get the hostnamePrefix property: Deprecated.
- *
+ *
* @return the hostnamePrefix value.
*/
public String hostnamePrefix() {
@@ -256,7 +265,7 @@ public String hostnamePrefix() {
/**
* Get the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.
- *
+ *
* @return the liveTraceConfiguration value.
*/
public LiveTraceConfiguration liveTraceConfiguration() {
@@ -265,7 +274,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 WebPubSubResourceInner object itself.
*/
@@ -279,7 +288,7 @@ public WebPubSubResourceInner withLiveTraceConfiguration(LiveTraceConfiguration
/**
* Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.
- *
+ *
* @return the resourceLogConfiguration value.
*/
public ResourceLogConfiguration resourceLogConfiguration() {
@@ -288,7 +297,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 WebPubSubResourceInner object itself.
*/
@@ -302,7 +311,7 @@ public WebPubSubResourceInner withResourceLogConfiguration(ResourceLogConfigurat
/**
* Get the networkACLs property: Network ACLs for the resource.
- *
+ *
* @return the networkACLs value.
*/
public WebPubSubNetworkACLs networkACLs() {
@@ -311,7 +320,7 @@ public WebPubSubNetworkACLs networkACLs() {
/**
* Set the networkACLs property: Network ACLs for the resource.
- *
+ *
* @param networkACLs the networkACLs value to set.
* @return the WebPubSubResourceInner object itself.
*/
@@ -324,10 +333,10 @@ public WebPubSubResourceInner withNetworkACLs(WebPubSubNetworkACLs 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() {
@@ -335,10 +344,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 WebPubSubResourceInner object itself.
*/
@@ -351,9 +360,10 @@ public WebPubSubResourceInner 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() {
@@ -361,9 +371,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 WebPubSubResourceInner object itself.
*/
@@ -376,9 +387,10 @@ public WebPubSubResourceInner 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() {
@@ -386,9 +398,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 WebPubSubResourceInner object itself.
*/
@@ -401,10 +414,11 @@ public WebPubSubResourceInner 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() {
@@ -412,10 +426,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 WebPubSubResourceInner object itself.
*/
@@ -428,9 +443,10 @@ public WebPubSubResourceInner withRegionEndpointEnabled(String regionEndpointEna
}
/**
- * 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() {
@@ -438,9 +454,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 WebPubSubResourceInner object itself.
*/
@@ -452,9 +469,32 @@ public WebPubSubResourceInner withResourceStopped(String resourceStopped) {
return this;
}
+ /**
+ * Get the socketIO property: SocketIO settings for the resource.
+ *
+ * @return the socketIO value.
+ */
+ public WebPubSubSocketIOSettings socketIO() {
+ return this.innerProperties() == null ? null : this.innerProperties().socketIO();
+ }
+
+ /**
+ * Set the socketIO property: SocketIO settings for the resource.
+ *
+ * @param socketIO the socketIO value to set.
+ * @return the WebPubSubResourceInner object itself.
+ */
+ public WebPubSubResourceInner withSocketIO(WebPubSubSocketIOSettings socketIO) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new WebPubSubProperties();
+ }
+ this.innerProperties().withSocketIO(socketIO);
+ return this;
+ }
+
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/package-info.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/package-info.java
index 018377dd6fc6..0ae9547f31bf 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/models/package-info.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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 WebPubSubManagementClient. REST API for Azure WebPubSub Service. */
+/**
+ * Package containing the inner data models for WebPubSubManagementClient.
+ * REST API for Azure WebPubSub Service.
+ */
package com.azure.resourcemanager.webpubsub.fluent.models;
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/package-info.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/package-info.java
index d26f4301311b..00fc4452604c 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/package-info.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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 WebPubSubManagementClient. REST API for Azure WebPubSub Service. */
+/**
+ * Package containing the service clients for WebPubSubManagementClient.
+ * REST API for Azure WebPubSub Service.
+ */
package com.azure.resourcemanager.webpubsub.fluent;
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/CustomCertificateImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/CustomCertificateImpl.java
index 8624ba526594..1efa5abbbc8b 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/CustomCertificateImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/CustomCertificateImpl.java
@@ -73,20 +73,16 @@ public CustomCertificateImpl withExistingWebPubSub(String resourceGroupName, Str
}
public CustomCertificate create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomCertificates()
- .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomCertificates()
+ .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), Context.NONE);
return this;
}
public CustomCertificate create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomCertificates()
- .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomCertificates()
+ .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), context);
return this;
}
@@ -101,49 +97,41 @@ public CustomCertificateImpl update() {
}
public CustomCertificate apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomCertificates()
- .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomCertificates()
+ .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), Context.NONE);
return this;
}
public CustomCertificate apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomCertificates()
- .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomCertificates()
+ .createOrUpdate(resourceGroupName, resourceName, certificateName, this.innerModel(), context);
return this;
}
- CustomCertificateImpl(
- CustomCertificateInner innerObject, com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
+ CustomCertificateImpl(CustomCertificateInner innerObject,
+ com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
- this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.resourceName = Utils.getValueFromIdByName(innerObject.id(), "webPubSub");
- this.certificateName = Utils.getValueFromIdByName(innerObject.id(), "customCertificates");
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "webPubSub");
+ this.certificateName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "customCertificates");
}
public CustomCertificate refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomCertificates()
- .getWithResponse(resourceGroupName, resourceName, certificateName, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomCertificates()
+ .getWithResponse(resourceGroupName, resourceName, certificateName, Context.NONE)
+ .getValue();
return this;
}
public CustomCertificate refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomCertificates()
- .getWithResponse(resourceGroupName, resourceName, certificateName, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomCertificates()
+ .getWithResponse(resourceGroupName, resourceName, certificateName, context)
+ .getValue();
return this;
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/CustomDomainImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/CustomDomainImpl.java
index dbdf288a4a62..79f0a2dc2a80 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/CustomDomainImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/CustomDomainImpl.java
@@ -69,20 +69,16 @@ public CustomDomainImpl withExistingWebPubSub(String resourceGroupName, String r
}
public CustomDomain create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomDomains()
- .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomDomains()
+ .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), Context.NONE);
return this;
}
public CustomDomain create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomDomains()
- .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomDomains()
+ .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), context);
return this;
}
@@ -97,49 +93,41 @@ public CustomDomainImpl update() {
}
public CustomDomain apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomDomains()
- .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomDomains()
+ .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), Context.NONE);
return this;
}
public CustomDomain apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomDomains()
- .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomDomains()
+ .createOrUpdate(resourceGroupName, resourceName, name, this.innerModel(), context);
return this;
}
- CustomDomainImpl(
- CustomDomainInner innerObject, com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
+ CustomDomainImpl(CustomDomainInner innerObject,
+ com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
- this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.resourceName = Utils.getValueFromIdByName(innerObject.id(), "webPubSub");
- this.name = Utils.getValueFromIdByName(innerObject.id(), "customDomains");
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "webPubSub");
+ this.name = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "customDomains");
}
public CustomDomain refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomDomains()
- .getWithResponse(resourceGroupName, resourceName, name, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomDomains()
+ .getWithResponse(resourceGroupName, resourceName, name, Context.NONE)
+ .getValue();
return this;
}
public CustomDomain refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubCustomDomains()
- .getWithResponse(resourceGroupName, resourceName, name, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubCustomDomains()
+ .getWithResponse(resourceGroupName, resourceName, name, context)
+ .getValue();
return this;
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/NameAvailabilityImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/NameAvailabilityImpl.java
index e6d724de5d95..49a7f765ff29 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/NameAvailabilityImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/NameAvailabilityImpl.java
@@ -12,8 +12,8 @@ public final class NameAvailabilityImpl implements NameAvailability {
private final com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager;
- NameAvailabilityImpl(
- NameAvailabilityInner innerObject, com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
+ NameAvailabilityImpl(NameAvailabilityInner innerObject,
+ com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/OperationsClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/OperationsClientImpl.java
index 3586e063d164..bb24e9d1c10d 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/OperationsClientImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/OperationsClientImpl.java
@@ -30,22 +30,28 @@
import com.azure.resourcemanager.webpubsub.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 WebPubSubManagementClientImpl client;
/**
* Initializes an instance of OperationsClientImpl.
- *
+ *
* @param client the instance of the service client containing this operation class.
*/
OperationsClientImpl(WebPubSubManagementClientImpl 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 = "WebPubSubManagementC")
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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/OperationsImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/OperationsImpl.java
index 46923b4dc029..71ec22d329f6 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/OperationsImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/OperationsImpl.java
@@ -19,20 +19,20 @@ public final class OperationsImpl implements Operations {
private final com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager;
- public OperationsImpl(
- OperationsClient innerClient, com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
+ public OperationsImpl(OperationsClient innerClient,
+ com.azure.resourcemanager.webpubsub.WebPubSubManager 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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/PrivateEndpointConnectionImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/PrivateEndpointConnectionImpl.java
index 6012837566a0..41bba20599b1 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/PrivateEndpointConnectionImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/PrivateEndpointConnectionImpl.java
@@ -18,8 +18,7 @@ public final class PrivateEndpointConnectionImpl implements PrivateEndpointConne
private final com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager;
- PrivateEndpointConnectionImpl(
- PrivateEndpointConnectionInner innerObject,
+ PrivateEndpointConnectionImpl(PrivateEndpointConnectionInner innerObject,
com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/PrivateLinkResourceImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/PrivateLinkResourceImpl.java
index b4ed2941ec4b..f396d998293c 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/PrivateLinkResourceImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/PrivateLinkResourceImpl.java
@@ -16,8 +16,8 @@ public final class PrivateLinkResourceImpl implements PrivateLinkResource {
private final com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager;
- PrivateLinkResourceImpl(
- PrivateLinkResourceInner innerObject, com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
+ PrivateLinkResourceImpl(PrivateLinkResourceInner innerObject,
+ com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/ReplicaImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/ReplicaImpl.java
index acb890ed8615..587eae035f5d 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/ReplicaImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/ReplicaImpl.java
@@ -97,20 +97,16 @@ public ReplicaImpl withExistingWebPubSub(String resourceGroupName, String resour
}
public Replica create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubReplicas()
- .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicas()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
return this;
}
public Replica create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubReplicas()
- .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicas()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
return this;
}
@@ -125,48 +121,40 @@ public ReplicaImpl update() {
}
public Replica apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubReplicas()
- .update(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicas()
+ .update(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
return this;
}
public Replica apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubReplicas()
- .update(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicas()
+ .update(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
return this;
}
ReplicaImpl(ReplicaInner innerObject, com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
- this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.resourceName = Utils.getValueFromIdByName(innerObject.id(), "webPubSub");
- this.replicaName = Utils.getValueFromIdByName(innerObject.id(), "replicas");
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "webPubSub");
+ this.replicaName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "replicas");
}
public Replica refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubReplicas()
- .getWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicas()
+ .getWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE)
+ .getValue();
return this;
}
public Replica refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubReplicas()
- .getWithResponse(resourceGroupName, resourceName, replicaName, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicas()
+ .getWithResponse(resourceGroupName, resourceName, replicaName, context)
+ .getValue();
return this;
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/Utils.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/ResourceManagerUtils.java
similarity index 90%
rename from sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/Utils.java
rename to sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/ResourceManagerUtils.java
index af4866dc2af9..8d18e60b7efe 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/Utils.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/SharedPrivateLinkResourceImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/SharedPrivateLinkResourceImpl.java
index bd566baa3f2c..246c41fc0212 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/SharedPrivateLinkResourceImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/SharedPrivateLinkResourceImpl.java
@@ -65,35 +65,35 @@ private com.azure.resourcemanager.webpubsub.WebPubSubManager manager() {
return this.serviceManager;
}
- private String sharedPrivateLinkResourceName;
-
private String resourceGroupName;
private String resourceName;
- public SharedPrivateLinkResourceImpl withExistingWebPubSub(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()
- .getWebPubSubSharedPrivateLinkResources()
- .createOrUpdate(
- sharedPrivateLinkResourceName, resourceGroupName, resourceName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicaSharedPrivateLinkResources()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName,
+ this.innerModel(), Context.NONE);
return this;
}
public SharedPrivateLinkResource create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubSharedPrivateLinkResources()
- .createOrUpdate(
- sharedPrivateLinkResourceName, resourceGroupName, resourceName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicaSharedPrivateLinkResources()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName,
+ this.innerModel(), context);
return this;
}
@@ -108,52 +108,45 @@ public SharedPrivateLinkResourceImpl update() {
}
public SharedPrivateLinkResource apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubSharedPrivateLinkResources()
- .createOrUpdate(
- sharedPrivateLinkResourceName, resourceGroupName, resourceName, this.innerModel(), Context.NONE);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicaSharedPrivateLinkResources()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName,
+ this.innerModel(), Context.NONE);
return this;
}
public SharedPrivateLinkResource apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubSharedPrivateLinkResources()
- .createOrUpdate(
- sharedPrivateLinkResourceName, resourceGroupName, resourceName, this.innerModel(), context);
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicaSharedPrivateLinkResources()
+ .createOrUpdate(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName,
+ this.innerModel(), context);
return this;
}
- SharedPrivateLinkResourceImpl(
- SharedPrivateLinkResourceInner innerObject,
+ SharedPrivateLinkResourceImpl(SharedPrivateLinkResourceInner innerObject,
com.azure.resourcemanager.webpubsub.WebPubSubManager 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(), "webPubSub");
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "webPubSub");
+ this.replicaName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "replicas");
+ this.sharedPrivateLinkResourceName
+ = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "sharedPrivateLinkResources");
}
public SharedPrivateLinkResource refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubSharedPrivateLinkResources()
- .getWithResponse(sharedPrivateLinkResourceName, resourceGroupName, resourceName, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicaSharedPrivateLinkResources()
+ .getWithResponse(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName, Context.NONE)
+ .getValue();
return this;
}
public SharedPrivateLinkResource refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getWebPubSubSharedPrivateLinkResources()
- .getWithResponse(sharedPrivateLinkResourceName, resourceGroupName, resourceName, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient()
+ .getWebPubSubReplicaSharedPrivateLinkResources()
+ .getWithResponse(resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceName, context)
+ .getValue();
return this;
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/SignalRServiceUsageImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/SignalRServiceUsageImpl.java
index 431d3de0e3c9..f26deeb032a0 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/SignalRServiceUsageImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/SignalRServiceUsageImpl.java
@@ -13,8 +13,8 @@ public final class SignalRServiceUsageImpl implements SignalRServiceUsage {
private final com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager;
- SignalRServiceUsageImpl(
- SignalRServiceUsageInner innerObject, com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
+ SignalRServiceUsageImpl(SignalRServiceUsageInner innerObject,
+ com.azure.resourcemanager.webpubsub.WebPubSubManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/UsagesClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/UsagesClientImpl.java
index e6f2fb573700..37df6ef63b72 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/UsagesClientImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/UsagesClientImpl.java
@@ -30,17 +30,23 @@
import com.azure.resourcemanager.webpubsub.models.SignalRServiceUsageList;
import reactor.core.publisher.Mono;
-/** 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 final class UsagesClientImpl implements UsagesClient {
- /** The proxy service used to perform REST calls. */
+ /**
+ * The proxy service used to perform REST calls.
+ */
private final UsagesService service;
- /** The service client containing this operation class. */
+ /**
+ * The service client containing this operation class.
+ */
private final WebPubSubManagementClientImpl client;
/**
* Initializes an instance of UsagesClientImpl.
- *
+ *
* @param client the instance of the service client containing this operation class.
*/
UsagesClientImpl(WebPubSubManagementClientImpl client) {
@@ -55,138 +61,96 @@ public final class UsagesClientImpl implements UsagesClient {
@Host("{$host}")
@ServiceInterface(name = "WebPubSubManagementC")
public interface UsagesService {
- @Headers({"Content-Type: application/json"})
+ @Headers({ "Content-Type: application/json" })
@Get("/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages")
- @ExpectedResponses({200})
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> list(
- @HostParam("$host") String endpoint,
- @PathParam("location") String location,
- @QueryParam("api-version") String apiVersion,
- @PathParam("subscriptionId") String subscriptionId,
- @HeaderParam("Accept") String accept,
- Context context);
+ Mono> list(@HostParam("$host") String endpoint,
+ @PathParam("location") String location, @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId, @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 resource usage quotas by location.
- *
+ *
* @param location the location like "eastus".
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return object that includes an array of the resource usages and a possible link for next set along with {@link
- * PagedResponse} on successful completion of {@link Mono}.
+ * @return object that includes an array of the resource usages and a possible link for next set along with
+ * {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(String location) {
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 (location == null) {
return Mono.error(new IllegalArgumentException("Parameter location 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."));
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .list(
- this.client.getEndpoint(),
- location,
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- 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(), location, this.client.getApiVersion(),
+ this.client.getSubscriptionId(), 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 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 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 along with {@link
- * PagedResponse} on successful completion of {@link Mono}.
+ * @return object that includes an array of the resource usages and a possible link for next set along with
+ * {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(String location, Context context) {
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 (location == null) {
return Mono.error(new IllegalArgumentException("Parameter location 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."));
}
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
- .list(
- this.client.getEndpoint(),
- location,
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- accept,
- context)
- .map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null));
+ .list(this.client.getEndpoint(), location, this.client.getApiVersion(), this.client.getSubscriptionId(),
+ accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), res.getValue().nextLink(), null));
}
/**
* List resource usage quotas by location.
- *
+ *
* @param location the location like "eastus".
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return object that includes an array of the resource usages and a possible link for next set as paginated
- * response with {@link PagedFlux}.
+ * response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listAsync(String location) {
@@ -195,30 +159,30 @@ private PagedFlux listAsync(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 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 PagedFlux}.
+ * response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listAsync(String location, Context context) {
- return new PagedFlux<>(
- () -> listSinglePageAsync(location, context), nextLink -> listNextSinglePageAsync(nextLink, context));
+ return new PagedFlux<>(() -> listSinglePageAsync(location, context),
+ nextLink -> listNextSinglePageAsync(nextLink, context));
}
/**
* List resource usage quotas by location.
- *
+ *
* @param location the location like "eastus".
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return object that includes an array of the resource usages and a possible link for next set as paginated
- * response with {@link PagedIterable}.
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable list(String location) {
@@ -227,14 +191,14 @@ public 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 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)
public PagedIterable list(String location, Context context) {
@@ -243,14 +207,15 @@ public PagedIterable list(String location, Context con
/**
* 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 object that includes an array of the resource usages and a possible link for next set along with {@link
- * PagedResponse} on successful completion of {@link Mono}.
+ * @return object that includes an array of the resource usages and a possible link for next set along with
+ * {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink) {
@@ -258,37 +223,28 @@ private Mono> listNextSinglePageAsync(St
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 object that includes an array of the resource usages and a possible link for next set along with {@link
- * PagedResponse} on successful completion of {@link Mono}.
+ * @return object that includes an array of the resource usages and a possible link for next set along with
+ * {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink, Context context) {
@@ -296,23 +252,13 @@ private Mono> listNextSinglePageAsync(St
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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/UsagesImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/UsagesImpl.java
index b7754d560819..ed15c94fa374 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/UsagesImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/UsagesImpl.java
@@ -26,12 +26,12 @@ public UsagesImpl(UsagesClient innerClient, com.azure.resourcemanager.webpubsub.
public PagedIterable list(String location) {
PagedIterable inner = this.serviceClient().list(location);
- return Utils.mapPage(inner, inner1 -> new SignalRServiceUsageImpl(inner1, this.manager()));
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new SignalRServiceUsageImpl(inner1, this.manager()));
}
public PagedIterable list(String location, Context context) {
PagedIterable inner = this.serviceClient().list(location, context);
- return Utils.mapPage(inner, inner1 -> new SignalRServiceUsageImpl(inner1, this.manager()));
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new SignalRServiceUsageImpl(inner1, this.manager()));
}
private UsagesClient serviceClient() {
diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomCertificatesClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomCertificatesClientImpl.java
index 97359db50697..67dbab13316b 100644
--- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomCertificatesClientImpl.java
+++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomCertificatesClientImpl.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 WebPubSubCustomCertificatesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in WebPubSubCustomCertificatesClient.
+ */
public final class WebPubSubCustomCertificatesClientImpl implements WebPubSubCustomCertificatesClient {
- /** The proxy service used to perform REST calls. */
+ /**
+ * The proxy service used to perform REST calls.
+ */
private final WebPubSubCustomCertificatesService service;
- /** The service client containing this operation class. */
+ /**
+ * The service client containing this operation class.
+ */
private final WebPubSubManagementClientImpl client;
/**
* Initializes an instance of WebPubSubCustomCertificatesClientImpl.
- *
+ *
* @param client the instance of the service client containing this operation class.
*/
WebPubSubCustomCertificatesClientImpl(WebPubSubManagementClientImpl client) {
- this.service =
- RestProxy
- .create(
- WebPubSubCustomCertificatesService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.service = RestProxy.create(WebPubSubCustomCertificatesService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
this.client = client;
}
@@ -66,80 +70,57 @@ public final class WebPubSubCustomCertificatesClientImpl implements WebPubSubCus
@Host("{$host}")
@ServiceInterface(name = "WebPubSubManagementC")
public interface WebPubSubCustomCertificatesService {
- @Headers({"Content-Type: application/json"})
- @Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customCertificates")
- @ExpectedResponses({200})
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{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/webPubSub/{resourceName}/customCertificates/{certificateName}")
- @ExpectedResponses({200})
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{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/webPubSub/{resourceName}/customCertificates/{certificateName}")
- @ExpectedResponses({200, 201})
+ @Headers({ "Content-Type: application/json" })
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{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/webPubSub/{resourceName}/customCertificates/{certificateName}")
- @ExpectedResponses({200, 204})
+ @Headers({ "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{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