diff --git a/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md b/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
index c1b6d9784225..e73cab7a5955 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
+++ b/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
-## 1.0.0-beta.5 (Unreleased)
+## 1.0.0-beta.1 (2022-10-19)
+
+- Azure Resource Manager SignalR client library for Java. This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2022-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Features Added
diff --git a/sdk/signalr/azure-resourcemanager-signalr/README.md b/sdk/signalr/azure-resourcemanager-signalr/README.md
index 7b692ce8f1da..5b5eb982f27e 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/README.md
+++ b/sdk/signalr/azure-resourcemanager-signalr/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager SignalR client library for Java.
-This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2022-02-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2022-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanagerazure-resourcemanager-signalr
- 1.0.0-beta.4
+ 1.0.0-beta.5
```
[//]: # ({x-version-update-end})
diff --git a/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md b/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md
index 2b5b2d29029d..18c32ded7651 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md
+++ b/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md
@@ -62,7 +62,7 @@ import com.azure.core.util.Context;
/** Samples for Operations List. */
public final class OperationsListSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/Operations_List.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/Operations_List.json
*/
/**
* Sample code: Operations_List.
@@ -84,7 +84,7 @@ import com.azure.resourcemanager.signalr.models.NameAvailabilityParameters;
/** Samples for SignalR CheckNameAvailability. */
public final class SignalRCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_CheckNameAvailability.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_CheckNameAvailability.json
*/
/**
* Sample code: SignalR_CheckNameAvailability.
@@ -117,6 +117,7 @@ import com.azure.resourcemanager.signalr.models.ManagedIdentityType;
import com.azure.resourcemanager.signalr.models.NetworkAcl;
import com.azure.resourcemanager.signalr.models.PrivateEndpointAcl;
import com.azure.resourcemanager.signalr.models.ResourceSku;
+import com.azure.resourcemanager.signalr.models.ServerlessSettings;
import com.azure.resourcemanager.signalr.models.ServerlessUpstreamSettings;
import com.azure.resourcemanager.signalr.models.ServiceKind;
import com.azure.resourcemanager.signalr.models.SignalRCorsSettings;
@@ -135,7 +136,7 @@ import java.util.Map;
/** Samples for SignalR CreateOrUpdate. */
public final class SignalRCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_CreateOrUpdate.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_CreateOrUpdate.json
*/
/**
* Sample code: SignalR_CreateOrUpdate.
@@ -178,6 +179,7 @@ public final class SignalRCreateOrUpdateSamples {
.withCategories(
Arrays.asList(new LiveTraceCategory().withName("ConnectivityLogs").withEnabled("true"))))
.withCors(new SignalRCorsSettings().withAllowedOrigins(Arrays.asList("https://foo.com", "https://bar.com")))
+ .withServerless(new ServerlessSettings().withConnectionTimeoutInSeconds(5))
.withUpstream(
new ServerlessUpstreamSettings()
.withTemplates(
@@ -230,7 +232,7 @@ import com.azure.core.util.Context;
/** Samples for SignalR Delete. */
public final class SignalRDeleteSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_Delete.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_Delete.json
*/
/**
* Sample code: SignalR_Delete.
@@ -251,7 +253,7 @@ import com.azure.core.util.Context;
/** Samples for SignalR GetByResourceGroup. */
public final class SignalRGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_Get.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_Get.json
*/
/**
* Sample code: SignalR_Get.
@@ -272,7 +274,7 @@ import com.azure.core.util.Context;
/** Samples for SignalR List. */
public final class SignalRListSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_ListBySubscription.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_ListBySubscription.json
*/
/**
* Sample code: SignalR_ListBySubscription.
@@ -293,7 +295,7 @@ import com.azure.core.util.Context;
/** Samples for SignalR ListByResourceGroup. */
public final class SignalRListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_ListByResourceGroup.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_ListByResourceGroup.json
*/
/**
* Sample code: SignalR_ListByResourceGroup.
@@ -314,7 +316,7 @@ import com.azure.core.util.Context;
/** Samples for SignalR ListKeys. */
public final class SignalRListKeysSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_ListKeys.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_ListKeys.json
*/
/**
* Sample code: SignalR_ListKeys.
@@ -335,7 +337,7 @@ import com.azure.core.util.Context;
/** Samples for SignalR ListSkus. */
public final class SignalRListSkusSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_ListSkus.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_ListSkus.json
*/
/**
* Sample code: SignalR_ListSkus.
@@ -358,7 +360,7 @@ import com.azure.resourcemanager.signalr.models.RegenerateKeyParameters;
/** Samples for SignalR RegenerateKey. */
public final class SignalRRegenerateKeySamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_RegenerateKey.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_RegenerateKey.json
*/
/**
* Sample code: SignalR_RegenerateKey.
@@ -385,7 +387,7 @@ import com.azure.core.util.Context;
/** Samples for SignalR Restart. */
public final class SignalRRestartSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_Restart.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_Restart.json
*/
/**
* Sample code: SignalR_Restart.
@@ -412,6 +414,7 @@ import com.azure.resourcemanager.signalr.models.ManagedIdentityType;
import com.azure.resourcemanager.signalr.models.NetworkAcl;
import com.azure.resourcemanager.signalr.models.PrivateEndpointAcl;
import com.azure.resourcemanager.signalr.models.ResourceSku;
+import com.azure.resourcemanager.signalr.models.ServerlessSettings;
import com.azure.resourcemanager.signalr.models.ServerlessUpstreamSettings;
import com.azure.resourcemanager.signalr.models.SignalRCorsSettings;
import com.azure.resourcemanager.signalr.models.SignalRFeature;
@@ -430,7 +433,7 @@ import java.util.Map;
/** Samples for SignalR Update. */
public final class SignalRUpdateSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalR_Update.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalR_Update.json
*/
/**
* Sample code: SignalR_Update.
@@ -474,6 +477,7 @@ public final class SignalRUpdateSamples {
.withCategories(
Arrays.asList(new LiveTraceCategory().withName("ConnectivityLogs").withEnabled("true"))))
.withCors(new SignalRCorsSettings().withAllowedOrigins(Arrays.asList("https://foo.com", "https://bar.com")))
+ .withServerless(new ServerlessSettings().withConnectionTimeoutInSeconds(5))
.withUpstream(
new ServerlessUpstreamSettings()
.withTemplates(
@@ -524,7 +528,7 @@ public final class SignalRUpdateSamples {
/** Samples for SignalRCustomCertificates CreateOrUpdate. */
public final class SignalRCustomCertificatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRCustomCertificates_CreateOrUpdate.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRCustomCertificates_CreateOrUpdate.json
*/
/**
* Sample code: SignalRCustomCertificates_CreateOrUpdate.
@@ -553,7 +557,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRCustomCertificates Delete. */
public final class SignalRCustomCertificatesDeleteSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRCustomCertificates_Delete.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRCustomCertificates_Delete.json
*/
/**
* Sample code: SignalRCustomCertificates_Delete.
@@ -576,7 +580,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRCustomCertificates Get. */
public final class SignalRCustomCertificatesGetSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRCustomCertificates_Get.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRCustomCertificates_Get.json
*/
/**
* Sample code: SignalRCustomCertificates_Get.
@@ -599,7 +603,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRCustomCertificates List. */
public final class SignalRCustomCertificatesListSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRCustomCertificates_List.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRCustomCertificates_List.json
*/
/**
* Sample code: SignalRCustomCertificates_List.
@@ -620,7 +624,7 @@ import com.azure.resourcemanager.signalr.models.ResourceReference;
/** Samples for SignalRCustomDomains CreateOrUpdate. */
public final class SignalRCustomDomainsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRCustomDomains_CreateOrUpdate.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRCustomDomains_CreateOrUpdate.json
*/
/**
* Sample code: SignalRCustomDomains_CreateOrUpdate.
@@ -650,7 +654,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRCustomDomains Delete. */
public final class SignalRCustomDomainsDeleteSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRCustomDomains_Delete.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRCustomDomains_Delete.json
*/
/**
* Sample code: SignalRCustomDomains_Delete.
@@ -671,7 +675,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRCustomDomains Get. */
public final class SignalRCustomDomainsGetSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRCustomDomains_Get.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRCustomDomains_Get.json
*/
/**
* Sample code: SignalRCustomDomains_Get.
@@ -692,7 +696,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRCustomDomains List. */
public final class SignalRCustomDomainsListSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRCustomDomains_List.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRCustomDomains_List.json
*/
/**
* Sample code: SignalRCustomDomains_List.
@@ -713,7 +717,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRPrivateEndpointConnections Delete. */
public final class SignalRPrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRPrivateEndpointConnections_Delete.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRPrivateEndpointConnections_Delete.json
*/
/**
* Sample code: SignalRPrivateEndpointConnections_Delete.
@@ -741,7 +745,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRPrivateEndpointConnections Get. */
public final class SignalRPrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRPrivateEndpointConnections_Get.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRPrivateEndpointConnections_Get.json
*/
/**
* Sample code: SignalRPrivateEndpointConnections_Get.
@@ -768,7 +772,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRPrivateEndpointConnections List. */
public final class SignalRPrivateEndpointConnectionsListSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRPrivateEndpointConnections_List.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRPrivateEndpointConnections_List.json
*/
/**
* Sample code: SignalRPrivateEndpointConnections_List.
@@ -793,7 +797,7 @@ import com.azure.resourcemanager.signalr.models.PrivateLinkServiceConnectionStat
/** Samples for SignalRPrivateEndpointConnections Update. */
public final class SignalRPrivateEndpointConnectionsUpdateSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRPrivateEndpointConnections_Update.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRPrivateEndpointConnections_Update.json
*/
/**
* Sample code: SignalRPrivateEndpointConnections_Update.
@@ -830,7 +834,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRPrivateLinkResources List. */
public final class SignalRPrivateLinkResourcesListSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRPrivateLinkResources_List.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRPrivateLinkResources_List.json
*/
/**
* Sample code: SignalRPrivateLinkResources_List.
@@ -849,7 +853,7 @@ public final class SignalRPrivateLinkResourcesListSamples {
/** Samples for SignalRSharedPrivateLinkResources CreateOrUpdate. */
public final class SignalRSharedPrivateLinkResourcesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRSharedPrivateLinkResources_CreateOrUpdate.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRSharedPrivateLinkResources_CreateOrUpdate.json
*/
/**
* Sample code: SignalRSharedPrivateLinkResources_CreateOrUpdate.
@@ -879,7 +883,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRSharedPrivateLinkResources Delete. */
public final class SignalRSharedPrivateLinkResourcesDeleteSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRSharedPrivateLinkResources_Delete.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRSharedPrivateLinkResources_Delete.json
*/
/**
* Sample code: SignalRSharedPrivateLinkResources_Delete.
@@ -903,7 +907,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRSharedPrivateLinkResources Get. */
public final class SignalRSharedPrivateLinkResourcesGetSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRSharedPrivateLinkResources_Get.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRSharedPrivateLinkResources_Get.json
*/
/**
* Sample code: SignalRSharedPrivateLinkResources_Get.
@@ -926,7 +930,7 @@ import com.azure.core.util.Context;
/** Samples for SignalRSharedPrivateLinkResources List. */
public final class SignalRSharedPrivateLinkResourcesListSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/SignalRSharedPrivateLinkResources_List.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/SignalRSharedPrivateLinkResources_List.json
*/
/**
* Sample code: SignalRSharedPrivateLinkResources_List.
@@ -947,7 +951,7 @@ import com.azure.core.util.Context;
/** Samples for Usages List. */
public final class UsagesListSamples {
/*
- * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2022-02-01/examples/Usages_List.json
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/Usages_List.json
*/
/**
* Sample code: Usages_List.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/pom.xml b/sdk/signalr/azure-resourcemanager-signalr/pom.xml
index d16693135cd8..eeed24d5b475 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/pom.xml
+++ b/sdk/signalr/azure-resourcemanager-signalr/pom.xml
@@ -13,7 +13,7 @@
jarMicrosoft Azure SDK for SignalR Management
- This package contains Microsoft Azure SDK for SignalR Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure SignalR Service. Package tag package-2022-02-01.
+ This package contains Microsoft Azure SDK for SignalR Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure SignalR Service. Package tag package-2022-08-01-preview.https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java
index 5c9b9ccd7fc5..e0883a04cbad 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java
@@ -231,7 +231,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.signalr")
.append("/")
- .append("1.0.0-beta.4");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
@@ -288,7 +288,11 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
}
}
- /** @return Resource collection API of Operations. */
+ /**
+ * Gets the resource collection API of Operations.
+ *
+ * @return Resource collection API of Operations.
+ */
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
@@ -296,7 +300,11 @@ public Operations operations() {
return operations;
}
- /** @return Resource collection API of SignalRs. */
+ /**
+ * Gets the resource collection API of SignalRs. It manages SignalRResource.
+ *
+ * @return Resource collection API of SignalRs.
+ */
public SignalRs signalRs() {
if (this.signalRs == null) {
this.signalRs = new SignalRsImpl(clientObject.getSignalRs(), this);
@@ -304,7 +312,11 @@ public SignalRs signalRs() {
return signalRs;
}
- /** @return Resource collection API of Usages. */
+ /**
+ * Gets the resource collection API of Usages.
+ *
+ * @return Resource collection API of Usages.
+ */
public Usages usages() {
if (this.usages == null) {
this.usages = new UsagesImpl(clientObject.getUsages(), this);
@@ -312,7 +324,11 @@ public Usages usages() {
return usages;
}
- /** @return Resource collection API of SignalRCustomCertificates. */
+ /**
+ * Gets the resource collection API of SignalRCustomCertificates. It manages CustomCertificate.
+ *
+ * @return Resource collection API of SignalRCustomCertificates.
+ */
public SignalRCustomCertificates signalRCustomCertificates() {
if (this.signalRCustomCertificates == null) {
this.signalRCustomCertificates =
@@ -321,7 +337,11 @@ public SignalRCustomCertificates signalRCustomCertificates() {
return signalRCustomCertificates;
}
- /** @return Resource collection API of SignalRCustomDomains. */
+ /**
+ * Gets the resource collection API of SignalRCustomDomains. It manages CustomDomain.
+ *
+ * @return Resource collection API of SignalRCustomDomains.
+ */
public SignalRCustomDomains signalRCustomDomains() {
if (this.signalRCustomDomains == null) {
this.signalRCustomDomains = new SignalRCustomDomainsImpl(clientObject.getSignalRCustomDomains(), this);
@@ -329,7 +349,11 @@ public SignalRCustomDomains signalRCustomDomains() {
return signalRCustomDomains;
}
- /** @return Resource collection API of SignalRPrivateEndpointConnections. */
+ /**
+ * Gets the resource collection API of SignalRPrivateEndpointConnections.
+ *
+ * @return Resource collection API of SignalRPrivateEndpointConnections.
+ */
public SignalRPrivateEndpointConnections signalRPrivateEndpointConnections() {
if (this.signalRPrivateEndpointConnections == null) {
this.signalRPrivateEndpointConnections =
@@ -338,7 +362,11 @@ public SignalRPrivateEndpointConnections signalRPrivateEndpointConnections() {
return signalRPrivateEndpointConnections;
}
- /** @return Resource collection API of SignalRPrivateLinkResources. */
+ /**
+ * Gets the resource collection API of SignalRPrivateLinkResources.
+ *
+ * @return Resource collection API of SignalRPrivateLinkResources.
+ */
public SignalRPrivateLinkResources signalRPrivateLinkResources() {
if (this.signalRPrivateLinkResources == null) {
this.signalRPrivateLinkResources =
@@ -347,7 +375,11 @@ public SignalRPrivateLinkResources signalRPrivateLinkResources() {
return signalRPrivateLinkResources;
}
- /** @return Resource collection API of SignalRSharedPrivateLinkResources. */
+ /**
+ * Gets the resource collection API of SignalRSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
+ *
+ * @return Resource collection API of SignalRSharedPrivateLinkResources.
+ */
public SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources() {
if (this.signalRSharedPrivateLinkResources == null) {
this.signalRSharedPrivateLinkResources =
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
index afdd8cd9ea99..b0f0fdff2ec8 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
@@ -51,13 +51,15 @@ public interface SignalRCustomCertificatesClient {
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
+ * @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 custom certificate.
+ * @return a custom certificate along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CustomCertificateInner get(String resourceGroupName, String resourceName, String certificateName);
+ Response getWithResponse(
+ String resourceGroupName, String resourceName, String certificateName, Context context);
/**
* Get a custom certificate.
@@ -66,15 +68,13 @@ public interface SignalRCustomCertificatesClient {
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
- * @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 custom certificate along with {@link Response}.
+ * @return a custom certificate.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String resourceName, String certificateName, Context context);
+ CustomCertificateInner get(String resourceGroupName, String resourceName, String certificateName);
/**
* Create or update a custom certificate.
@@ -161,12 +161,15 @@ CustomCertificateInner createOrUpdate(
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
+ * @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 Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String certificateName);
+ Response deleteWithResponse(
+ String resourceGroupName, String resourceName, String certificateName, Context context);
/**
* Delete a custom certificate.
@@ -175,13 +178,10 @@ CustomCertificateInner createOrUpdate(
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
- * @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 Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String resourceName, String certificateName, Context context);
+ void delete(String resourceGroupName, String resourceName, String certificateName);
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
index b1022be74850..beb788760f70 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
@@ -51,13 +51,15 @@ public interface SignalRCustomDomainsClient {
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param name Custom domain name.
+ * @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 custom domain.
+ * @return a custom domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CustomDomainInner get(String resourceGroupName, String resourceName, String name);
+ Response getWithResponse(
+ String resourceGroupName, String resourceName, String name, Context context);
/**
* Get a custom domain.
@@ -66,15 +68,13 @@ public interface SignalRCustomDomainsClient {
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param name Custom domain name.
- * @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 custom domain along with {@link Response}.
+ * @return a custom domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String resourceName, String name, Context context);
+ CustomDomainInner get(String resourceGroupName, String resourceName, String name);
/**
* Create or update a custom domain.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java
index a3380552b956..c946055af5e7 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java
@@ -53,14 +53,15 @@ public interface SignalRPrivateEndpointConnectionsClient {
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 specified private endpoint connection.
+ * @return the specified private endpoint connection along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner get(
- String privateEndpointConnectionName, String resourceGroupName, String resourceName);
+ Response getWithResponse(
+ String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context);
/**
* Get the specified private endpoint connection.
@@ -69,15 +70,14 @@ PrivateEndpointConnectionInner get(
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 specified private endpoint connection along with {@link Response}.
+ * @return the specified private endpoint connection.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context);
+ PrivateEndpointConnectionInner get(
+ String privateEndpointConnectionName, String resourceGroupName, String resourceName);
/**
* Update the state of specified private endpoint connection.
@@ -87,17 +87,19 @@ Response getWithResponse(
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
+ * @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 private endpoint connection to an azure resource.
+ * @return a private endpoint connection to an azure resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner update(
+ Response updateWithResponse(
String privateEndpointConnectionName,
String resourceGroupName,
String resourceName,
- PrivateEndpointConnectionInner parameters);
+ PrivateEndpointConnectionInner parameters,
+ Context context);
/**
* Update the state of specified private endpoint connection.
@@ -107,19 +109,17 @@ PrivateEndpointConnectionInner update(
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
- * @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 private endpoint connection to an azure resource along with {@link Response}.
+ * @return a private endpoint connection to an azure resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
+ PrivateEndpointConnectionInner update(
String privateEndpointConnectionName,
String resourceGroupName,
String resourceName,
- PrivateEndpointConnectionInner parameters,
- Context context);
+ PrivateEndpointConnectionInner parameters);
/**
* Delete the specified private endpoint connection.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java
index 5302ecd373b5..3d079df6ec35 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java
@@ -53,14 +53,15 @@ public interface SignalRSharedPrivateLinkResourcesClient {
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 specified shared private link resource.
+ * @return the specified shared private link resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SharedPrivateLinkResourceInner get(
- String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName);
+ Response getWithResponse(
+ String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, Context context);
/**
* Get the specified shared private link resource.
@@ -69,15 +70,14 @@ SharedPrivateLinkResourceInner get(
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 specified shared private link resource along with {@link Response}.
+ * @return the specified shared private link resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, Context context);
+ SharedPrivateLinkResourceInner get(
+ String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName);
/**
* Create or update a shared private link resource.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java
index e5a66ddef57c..ce0e6b669839 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java
@@ -25,28 +25,28 @@ public interface SignalRsClient {
*
* @param location the region.
* @param parameters Parameters supplied to the operation.
+ * @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 result of the request to check name availability.
+ * @return result of the request to check name availability along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- NameAvailabilityInner checkNameAvailability(String location, NameAvailabilityParameters parameters);
+ 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.
- * @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 result of the request to check name availability along with {@link Response}.
+ * @return result of the request to check name availability.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkNameAvailabilityWithResponse(
- String location, NameAvailabilityParameters parameters, Context context);
+ NameAvailabilityInner checkNameAvailability(String location, NameAvailabilityParameters parameters);
/**
* Handles requests to list all resources in a subscription.
@@ -107,13 +107,15 @@ Response checkNameAvailabilityWithResponse(
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 resource and its properties.
+ * @return the resource and its properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SignalRResourceInner getByResourceGroup(String resourceGroupName, String resourceName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String resourceName, Context context);
/**
* Get the resource and its properties.
@@ -121,15 +123,13 @@ Response checkNameAvailabilityWithResponse(
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 resource and its properties along with {@link Response}.
+ * @return the resource and its properties.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String resourceName, Context context);
+ SignalRResourceInner getByResourceGroup(String resourceGroupName, String resourceName);
/**
* Create or update a resource.
@@ -323,13 +323,14 @@ SignalRResourceInner update(
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 access keys of the resource.
+ * @return the access keys of the resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SignalRKeysInner listKeys(String resourceGroupName, String resourceName);
+ Response listKeysWithResponse(String resourceGroupName, String resourceName, Context context);
/**
* Get the access keys of the resource.
@@ -337,14 +338,13 @@ SignalRResourceInner update(
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 access keys of the resource along with {@link Response}.
+ * @return the access keys of the resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listKeysWithResponse(String resourceGroupName, String resourceName, Context context);
+ SignalRKeysInner listKeys(String resourceGroupName, String resourceName);
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
@@ -473,13 +473,14 @@ SignalRKeysInner regenerateKey(
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 list skus operation response.
+ * @return the list skus operation response along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SkuListInner listSkus(String resourceGroupName, String resourceName);
+ Response listSkusWithResponse(String resourceGroupName, String resourceName, Context context);
/**
* List all available skus of the resource.
@@ -487,12 +488,11 @@ SignalRKeysInner regenerateKey(
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @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 list skus operation response along with {@link Response}.
+ * @return the list skus operation response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listSkusWithResponse(String resourceGroupName, String resourceName, Context context);
+ SkuListInner listSkus(String resourceGroupName, String resourceName);
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
index 1b6df55f635f..1100397c6590 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
@@ -26,6 +26,10 @@ public final class CustomCertificateInner extends ProxyResource {
@JsonProperty(value = "properties", required = true)
private CustomCertificateProperties innerProperties = new CustomCertificateProperties();
+ /** Creates an instance of CustomCertificateInner class. */
+ public CustomCertificateInner() {
+ }
+
/**
* Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateProperties.java
index 1c27232c5661..02115f002166 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateProperties.java
@@ -36,6 +36,10 @@ public final class CustomCertificateProperties {
@JsonProperty(value = "keyVaultSecretVersion")
private String keyVaultSecretVersion;
+ /** Creates an instance of CustomCertificateProperties class. */
+ public CustomCertificateProperties() {
+ }
+
/**
* Get the provisioningState property: Provisioning state of the resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
index bd313e5d9a0c..18489b6ede61 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
@@ -27,6 +27,10 @@ public final class CustomDomainInner extends ProxyResource {
@JsonProperty(value = "properties", required = true)
private CustomDomainProperties innerProperties = new CustomDomainProperties();
+ /** Creates an instance of CustomDomainInner class. */
+ public CustomDomainInner() {
+ }
+
/**
* Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainProperties.java
index 5f531b362aa4..a49e62b8d62e 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainProperties.java
@@ -31,6 +31,10 @@ public final class CustomDomainProperties {
@JsonProperty(value = "customCertificate", required = true)
private ResourceReference customCertificate;
+ /** Creates an instance of CustomDomainProperties class. */
+ public CustomDomainProperties() {
+ }
+
/**
* Get the provisioningState property: Provisioning state of the resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/NameAvailabilityInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/NameAvailabilityInner.java
index 9773a9b1a098..c654d2921c5c 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/NameAvailabilityInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/NameAvailabilityInner.java
@@ -28,6 +28,10 @@ public final class NameAvailabilityInner {
@JsonProperty(value = "message")
private String message;
+ /** Creates an instance of NameAvailabilityInner class. */
+ public NameAvailabilityInner() {
+ }
+
/**
* Get the nameAvailable property: Indicates whether the name is available or not.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/OperationInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/OperationInner.java
index 18d525ebffe7..e0bb67b4bfb1 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/OperationInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/OperationInner.java
@@ -31,8 +31,8 @@ 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,6 +43,10 @@ public final class OperationInner {
@JsonProperty(value = "properties")
private OperationProperties properties;
+ /** Creates an instance of OperationInner class. */
+ public OperationInner() {
+ }
+
/**
* Get the name property: Name of the operation with format: {provider}/{resource}/{operation}.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java
index a42ff1123058..1e98cb6ee9d8 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java
@@ -28,6 +28,10 @@ public final class PrivateEndpointConnectionInner extends ProxyResource {
@JsonProperty(value = "properties")
private PrivateEndpointConnectionProperties innerProperties;
+ /** Creates an instance of PrivateEndpointConnectionInner class. */
+ public PrivateEndpointConnectionInner() {
+ }
+
/**
* Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionProperties.java
index ca3b12f84642..3c2ff5a36b84 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionProperties.java
@@ -38,6 +38,10 @@ public final class PrivateEndpointConnectionProperties {
@JsonProperty(value = "privateLinkServiceConnectionState")
private PrivateLinkServiceConnectionState privateLinkServiceConnectionState;
+ /** Creates an instance of PrivateEndpointConnectionProperties class. */
+ public PrivateEndpointConnectionProperties() {
+ }
+
/**
* Get the provisioningState property: Provisioning state of the resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java
index 12674cb4a23a..ceb8a1509ea3 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java
@@ -19,6 +19,10 @@ public final class PrivateLinkResourceInner extends ProxyResource {
@JsonProperty(value = "properties")
private PrivateLinkResourceProperties innerProperties;
+ /** Creates an instance of PrivateLinkResourceInner class. */
+ public PrivateLinkResourceInner() {
+ }
+
/**
* Get the innerProperties property: Private link resource properties.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceProperties.java
index 38c64d9b28b8..bc4983d6e376 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceProperties.java
@@ -36,6 +36,10 @@ public final class PrivateLinkResourceProperties {
@JsonProperty(value = "shareablePrivateLinkResourceTypes")
private List shareablePrivateLinkResourceTypes;
+ /** Creates an instance of PrivateLinkResourceProperties class. */
+ public PrivateLinkResourceProperties() {
+ }
+
/**
* Get the groupId property: Group Id of the private link resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java
index 5ee6d95ea7e1..860a5d370141 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java
@@ -26,6 +26,10 @@ public final class SharedPrivateLinkResourceInner extends ProxyResource {
@JsonProperty(value = "properties")
private SharedPrivateLinkResourceProperties innerProperties;
+ /** Creates an instance of SharedPrivateLinkResourceInner class. */
+ public SharedPrivateLinkResourceInner() {
+ }
+
/**
* Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceProperties.java
index 41c19f056d88..36acd678521a 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceProperties.java
@@ -14,8 +14,7 @@
@Fluent
public final class SharedPrivateLinkResourceProperties {
/*
- * The group id from the provider of resource the shared private link
- * resource is for
+ * The group id from the provider of resource the shared private link resource is for
*/
@JsonProperty(value = "groupId", required = true)
private String groupId;
@@ -33,8 +32,7 @@ public final class SharedPrivateLinkResourceProperties {
private ProvisioningState provisioningState;
/*
- * The request message for requesting approval of the shared private link
- * resource
+ * The request message for requesting approval of the shared private link resource
*/
@JsonProperty(value = "requestMessage")
private String requestMessage;
@@ -45,6 +43,10 @@ public final class SharedPrivateLinkResourceProperties {
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private SharedPrivateLinkResourceStatus status;
+ /** 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.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRKeysInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRKeysInner.java
index b3d66b10d69e..9f0ca975278a 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRKeysInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRKeysInner.java
@@ -34,6 +34,10 @@ public final class SignalRKeysInner {
@JsonProperty(value = "secondaryConnectionString")
private String secondaryConnectionString;
+ /** Creates an instance of SignalRKeysInner class. */
+ public SignalRKeysInner() {
+ }
+
/**
* Get the primaryKey property: The primary access key.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java
index 9fce8520cc84..15f020f3a508 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java
@@ -8,6 +8,7 @@
import com.azure.resourcemanager.signalr.models.LiveTraceConfiguration;
import com.azure.resourcemanager.signalr.models.ProvisioningState;
import com.azure.resourcemanager.signalr.models.ResourceLogConfiguration;
+import com.azure.resourcemanager.signalr.models.ServerlessSettings;
import com.azure.resourcemanager.signalr.models.ServerlessUpstreamSettings;
import com.azure.resourcemanager.signalr.models.SignalRCorsSettings;
import com.azure.resourcemanager.signalr.models.SignalRFeature;
@@ -38,22 +39,19 @@ public final class SignalRProperties {
private String hostname;
/*
- * The publicly accessible port of the resource which is designed for
- * browser/client side usage.
+ * The publicly accessible port of the resource which is designed for browser/client side usage.
*/
@JsonProperty(value = "publicPort", access = JsonProperty.Access.WRITE_ONLY)
private Integer publicPort;
/*
- * The publicly accessible port of the resource which is designed for
- * customer server side usage.
+ * The publicly accessible port of the resource which is designed for customer server side usage.
*/
@JsonProperty(value = "serverPort", access = JsonProperty.Access.WRITE_ONLY)
private Integer serverPort;
/*
- * Version of the resource. Probably you need the same or higher version of
- * client SDKs.
+ * Version of the resource. Probably you need the same or higher version of client SDKs.
*/
@JsonProperty(value = "version", access = JsonProperty.Access.WRITE_ONLY)
private String version;
@@ -85,13 +83,10 @@ public final class SignalRProperties {
/*
* List of the featureFlags.
*
- * FeatureFlags that are not included in the parameters for the update
- * operation will not be modified.
+ * FeatureFlags that are not included in the parameters for the update operation will not be modified.
* And the response will only include featureFlags that are explicitly set.
- * When a featureFlag is not explicitly set, its globally default value
- * will be used
- * But keep in mind, the default value doesn't mean "false". It varies in
- * terms of different FeatureFlags.
+ * When a featureFlag is not explicitly set, its globally default value will be used
+ * But keep in mind, the default value doesn't mean "false". It varies in terms of different FeatureFlags.
*/
@JsonProperty(value = "features")
private List features;
@@ -114,6 +109,12 @@ public final class SignalRProperties {
@JsonProperty(value = "cors")
private SignalRCorsSettings cors;
+ /*
+ * Serverless settings.
+ */
+ @JsonProperty(value = "serverless")
+ private ServerlessSettings serverless;
+
/*
* The settings for the Upstream when the service is in server-less mode.
*/
@@ -129,8 +130,7 @@ public final class SignalRProperties {
/*
* 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.
+ * When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
*/
@JsonProperty(value = "publicNetworkAccess")
private String publicNetworkAccess;
@@ -151,6 +151,10 @@ public final class SignalRProperties {
@JsonProperty(value = "disableAadAuth")
private Boolean disableAadAuth;
+ /** Creates an instance of SignalRProperties class. */
+ public SignalRProperties() {
+ }
+
/**
* Get the provisioningState property: Provisioning state of the resource.
*
@@ -344,6 +348,26 @@ public SignalRProperties withCors(SignalRCorsSettings cors) {
return this;
}
+ /**
+ * Get the serverless property: Serverless settings.
+ *
+ * @return the serverless value.
+ */
+ public ServerlessSettings serverless() {
+ return this.serverless;
+ }
+
+ /**
+ * Set the serverless property: Serverless settings.
+ *
+ * @param serverless the serverless value to set.
+ * @return the SignalRProperties object itself.
+ */
+ public SignalRProperties withServerless(ServerlessSettings serverless) {
+ this.serverless = serverless;
+ return this;
+ }
+
/**
* Get the upstream property: The settings for the Upstream when the service is in server-less mode.
*
@@ -479,6 +503,9 @@ public void validate() {
if (cors() != null) {
cors().validate();
}
+ if (serverless() != null) {
+ serverless().validate();
+ }
if (upstream() != null) {
upstream().validate();
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRResourceInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRResourceInner.java
index 22bad5a8bb69..e3f82f1fd4e0 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRResourceInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRResourceInner.java
@@ -12,6 +12,7 @@
import com.azure.resourcemanager.signalr.models.ProvisioningState;
import com.azure.resourcemanager.signalr.models.ResourceLogConfiguration;
import com.azure.resourcemanager.signalr.models.ResourceSku;
+import com.azure.resourcemanager.signalr.models.ServerlessSettings;
import com.azure.resourcemanager.signalr.models.ServerlessUpstreamSettings;
import com.azure.resourcemanager.signalr.models.ServiceKind;
import com.azure.resourcemanager.signalr.models.SignalRCorsSettings;
@@ -55,6 +56,10 @@ public final class SignalRResourceInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of SignalRResourceInner class. */
+ public SignalRResourceInner() {
+ }
+
/**
* Get the sku property: The billing information of the resource.
*
@@ -355,6 +360,29 @@ public SignalRResourceInner withCors(SignalRCorsSettings cors) {
return this;
}
+ /**
+ * Get the serverless property: Serverless settings.
+ *
+ * @return the serverless value.
+ */
+ public ServerlessSettings serverless() {
+ return this.innerProperties() == null ? null : this.innerProperties().serverless();
+ }
+
+ /**
+ * Set the serverless property: Serverless settings.
+ *
+ * @param serverless the serverless value to set.
+ * @return the SignalRResourceInner object itself.
+ */
+ public SignalRResourceInner withServerless(ServerlessSettings serverless) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SignalRProperties();
+ }
+ this.innerProperties().withServerless(serverless);
+ return this;
+ }
+
/**
* Get the upstream property: The settings for the Upstream when the service is in server-less mode.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRUsageInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRUsageInner.java
index 2213ffd1ae4e..85d014f44f67 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRUsageInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRUsageInner.java
@@ -24,8 +24,7 @@ public final class SignalRUsageInner {
private Long currentValue;
/*
- * The maximum permitted value for the usage quota. If there is no limit,
- * this value will be -1.
+ * The maximum permitted value for the usage quota. If there is no limit, this value will be -1.
*/
@JsonProperty(value = "limit")
private Long limit;
@@ -37,12 +36,16 @@ public final class SignalRUsageInner {
private SignalRUsageName name;
/*
- * Representing the units of the usage quota. Possible values are: Count,
- * Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.
+ * Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond,
+ * BytesPerSecond.
*/
@JsonProperty(value = "unit")
private String unit;
+ /** Creates an instance of SignalRUsageInner class. */
+ public SignalRUsageInner() {
+ }
+
/**
* Get the id property: Fully qualified ARM resource id.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SkuListInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SkuListInner.java
index 427847342e7e..50d63f7a2d07 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SkuListInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SkuListInner.java
@@ -19,13 +19,16 @@ public final class SkuListInner {
private List value;
/*
- * The URL the client should use to fetch the next page (per server side
- * paging).
+ * The URL the client should use to fetch the next page (per server side paging).
* It's null for now, added for future use.
*/
@JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY)
private String nextLink;
+ /** Creates an instance of SkuListInner class. */
+ public SkuListInner() {
+ }
+
/**
* Get the value property: The list of skus available for the resource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomCertificateImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomCertificateImpl.java
index be0dfd3110f3..b11cb015dd25 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomCertificateImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomCertificateImpl.java
@@ -48,6 +48,10 @@ public String keyVaultSecretVersion() {
return this.innerModel().keyVaultSecretVersion();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public CustomCertificateInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomDomainImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomDomainImpl.java
index 0d32e93ed3d1..5ca7f62bdf1f 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomDomainImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/CustomDomainImpl.java
@@ -44,6 +44,10 @@ public ResourceReference customCertificate() {
return this.innerModel().customCertificate();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public CustomDomainInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsClientImpl.java
index 557e347d0f42..b409af0c1599 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/OperationsClientImpl.java
@@ -198,7 +198,8 @@ public PagedIterable list(Context context) {
/**
* Get the next page of items.
*
- * @param nextLink The nextLink parameter.
+ * @param nextLink The URL to get the next list of items
+ *
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.
@@ -234,7 +235,8 @@ private Mono> listNextSinglePageAsync(String nextL
/**
* Get the next page of items.
*
- * @param nextLink The nextLink parameter.
+ * @param nextLink The URL to get the next list of items
+ *
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.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SharedPrivateLinkResourceImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SharedPrivateLinkResourceImpl.java
index 48505c415e7d..14ef1aec11bf 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SharedPrivateLinkResourceImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SharedPrivateLinkResourceImpl.java
@@ -53,6 +53,10 @@ public SharedPrivateLinkResourceStatus status() {
return this.innerModel().status();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public SharedPrivateLinkResourceInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
index a2efe97095ca..e0dd84d3841b 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
@@ -449,14 +449,7 @@ private Mono> getWithResponseAsync(
private Mono getAsync(
String resourceGroupName, String resourceName, String certificateName) {
return getWithResponseAsync(resourceGroupName, resourceName, certificateName)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
@@ -466,14 +459,16 @@ private Mono getAsync(
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
+ * @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 a custom certificate.
+ * @return a custom certificate along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public CustomCertificateInner get(String resourceGroupName, String resourceName, String certificateName) {
- return getAsync(resourceGroupName, resourceName, certificateName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String resourceName, String certificateName, Context context) {
+ return getWithResponseAsync(resourceGroupName, resourceName, certificateName, context).block();
}
/**
@@ -483,16 +478,14 @@ public CustomCertificateInner get(String resourceGroupName, String resourceName,
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
- * @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 a custom certificate along with {@link Response}.
+ * @return a custom certificate.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String resourceName, String certificateName, Context context) {
- return getWithResponseAsync(resourceGroupName, resourceName, certificateName, context).block();
+ public CustomCertificateInner get(String resourceGroupName, String resourceName, String certificateName) {
+ return getWithResponse(resourceGroupName, resourceName, certificateName, Context.NONE).getValue();
}
/**
@@ -940,7 +933,7 @@ private Mono> deleteWithResponseAsync(
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono deleteAsync(String resourceGroupName, String resourceName, String certificateName) {
return deleteWithResponseAsync(resourceGroupName, resourceName, certificateName)
- .flatMap((Response res) -> Mono.empty());
+ .flatMap(ignored -> Mono.empty());
}
/**
@@ -950,13 +943,16 @@ private Mono deleteAsync(String resourceGroupName, String resourceName, St
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
+ * @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 the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public void delete(String resourceGroupName, String resourceName, String certificateName) {
- deleteAsync(resourceGroupName, resourceName, certificateName).block();
+ public Response deleteWithResponse(
+ String resourceGroupName, String resourceName, String certificateName, Context context) {
+ return deleteWithResponseAsync(resourceGroupName, resourceName, certificateName, context).block();
}
/**
@@ -966,22 +962,20 @@ public void delete(String resourceGroupName, String resourceName, String certifi
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
- * @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 the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response deleteWithResponse(
- String resourceGroupName, String resourceName, String certificateName, Context context) {
- return deleteWithResponseAsync(resourceGroupName, resourceName, certificateName, context).block();
+ public void delete(String resourceGroupName, String resourceName, String certificateName) {
+ deleteWithResponse(resourceGroupName, resourceName, certificateName, Context.NONE);
}
/**
* Get the next page of items.
*
- * @param nextLink The nextLink parameter.
+ * @param nextLink The URL to get the next list of items
+ *
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.
@@ -1016,7 +1010,8 @@ private Mono> listNextSinglePageAsync(Stri
/**
* Get the next page of items.
*
- * @param nextLink The nextLink parameter.
+ * @param nextLink The URL to get the next list of items
+ *
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.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesImpl.java
index c26e76ea98eb..62a34ab2d251 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesImpl.java
@@ -38,15 +38,6 @@ public PagedIterable list(String resourceGroupName, String re
return Utils.mapPage(inner, inner1 -> new CustomCertificateImpl(inner1, this.manager()));
}
- public CustomCertificate get(String resourceGroupName, String resourceName, String certificateName) {
- CustomCertificateInner inner = this.serviceClient().get(resourceGroupName, resourceName, certificateName);
- if (inner != null) {
- return new CustomCertificateImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String resourceName, String certificateName, Context context) {
Response inner =
@@ -62,8 +53,13 @@ public Response getWithResponse(
}
}
- public void delete(String resourceGroupName, String resourceName, String certificateName) {
- this.serviceClient().delete(resourceGroupName, resourceName, certificateName);
+ public CustomCertificate get(String resourceGroupName, String resourceName, String certificateName) {
+ CustomCertificateInner inner = this.serviceClient().get(resourceGroupName, resourceName, certificateName);
+ if (inner != null) {
+ return new CustomCertificateImpl(inner, this.manager());
+ } else {
+ return null;
+ }
}
public Response deleteWithResponse(
@@ -71,6 +67,10 @@ public Response deleteWithResponse(
return this.serviceClient().deleteWithResponse(resourceGroupName, resourceName, certificateName, context);
}
+ public void delete(String resourceGroupName, String resourceName, String certificateName) {
+ this.serviceClient().delete(resourceGroupName, resourceName, certificateName);
+ }
+
public CustomCertificate getById(String id) {
String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsClientImpl.java
index cf2658d454a4..b776a0197cb0 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsClientImpl.java
@@ -443,14 +443,7 @@ private Mono> getWithResponseAsync(
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getAsync(String resourceGroupName, String resourceName, String name) {
return getWithResponseAsync(resourceGroupName, resourceName, name)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
@@ -460,14 +453,16 @@ private Mono getAsync(String resourceGroupName, String resour
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param name Custom domain name.
+ * @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 a custom domain.
+ * @return a custom domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public CustomDomainInner get(String resourceGroupName, String resourceName, String name) {
- return getAsync(resourceGroupName, resourceName, name).block();
+ public Response getWithResponse(
+ String resourceGroupName, String resourceName, String name, Context context) {
+ return getWithResponseAsync(resourceGroupName, resourceName, name, context).block();
}
/**
@@ -477,16 +472,14 @@ public CustomDomainInner get(String resourceGroupName, String resourceName, Stri
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param name Custom domain name.
- * @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 a custom domain along with {@link Response}.
+ * @return a custom domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String resourceName, String name, Context context) {
- return getWithResponseAsync(resourceGroupName, resourceName, name, context).block();
+ public CustomDomainInner get(String resourceGroupName, String resourceName, String name) {
+ return getWithResponse(resourceGroupName, resourceName, name, Context.NONE).getValue();
}
/**
@@ -1046,7 +1039,8 @@ public void delete(String resourceGroupName, String resourceName, String name, C
/**
* Get the next page of items.
*
- * @param nextLink The nextLink parameter.
+ * @param nextLink The URL to get the next list of items
+ *
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.
@@ -1081,7 +1075,8 @@ private Mono> listNextSinglePageAsync(String ne
/**
* Get the next page of items.
*
- * @param nextLink The nextLink parameter.
+ * @param nextLink The URL to get the next list of items
+ *
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.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsImpl.java
index 8aa937839ce6..b8994c325dd0 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsImpl.java
@@ -37,15 +37,6 @@ public PagedIterable list(String resourceGroupName, String resourc
return Utils.mapPage(inner, inner1 -> new CustomDomainImpl(inner1, this.manager()));
}
- public CustomDomain get(String resourceGroupName, String resourceName, String name) {
- CustomDomainInner inner = this.serviceClient().get(resourceGroupName, resourceName, name);
- if (inner != null) {
- return new CustomDomainImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String resourceName, String name, Context context) {
Response inner =
@@ -61,6 +52,15 @@ public Response getWithResponse(
}
}
+ public CustomDomain get(String resourceGroupName, String resourceName, String name) {
+ CustomDomainInner inner = this.serviceClient().get(resourceGroupName, resourceName, name);
+ if (inner != null) {
+ return new CustomDomainImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(String resourceGroupName, String resourceName, String name) {
this.serviceClient().delete(resourceGroupName, resourceName, name);
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientBuilder.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientBuilder.java
index ae76bfadccf4..103877513c87 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientBuilder.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientBuilder.java
@@ -18,9 +18,8 @@
@ServiceClientBuilder(serviceClients = {SignalRManagementClientImpl.class})
public final class SignalRManagementClientBuilder {
/*
- * Gets subscription Id which uniquely identify the Microsoft Azure
- * subscription. The subscription ID forms part of the URI for every
- * service call.
+ * Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of
+ * the URI for every service call.
*/
private String subscriptionId;
@@ -122,27 +121,26 @@ public SignalRManagementClientBuilder serializerAdapter(SerializerAdapter serial
* @return an instance of SignalRManagementClientImpl.
*/
public SignalRManagementClientImpl buildClient() {
- if (pipeline == null) {
- this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
- }
- if (endpoint == null) {
- this.endpoint = "https://management.azure.com";
- }
- if (environment == null) {
- this.environment = AzureEnvironment.AZURE;
- }
- if (pipeline == null) {
- this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
- }
- if (defaultPollInterval == null) {
- this.defaultPollInterval = Duration.ofSeconds(30);
- }
- if (serializerAdapter == null) {
- this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter();
- }
+ String localEndpoint = (endpoint != null) ? endpoint : "https://management.azure.com";
+ AzureEnvironment localEnvironment = (environment != null) ? environment : AzureEnvironment.AZURE;
+ HttpPipeline localPipeline =
+ (pipeline != null)
+ ? pipeline
+ : new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
+ Duration localDefaultPollInterval =
+ (defaultPollInterval != null) ? defaultPollInterval : Duration.ofSeconds(30);
+ SerializerAdapter localSerializerAdapter =
+ (serializerAdapter != null)
+ ? serializerAdapter
+ : SerializerFactory.createDefaultManagementSerializerAdapter();
SignalRManagementClientImpl client =
new SignalRManagementClientImpl(
- pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ localPipeline,
+ localSerializerAdapter,
+ localDefaultPollInterval,
+ localEnvironment,
+ subscriptionId,
+ localEndpoint);
return client;
}
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientImpl.java
index a6f61485ff84..ab7c5f57850a 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientImpl.java
@@ -15,6 +15,7 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.management.polling.PollerFactory;
import com.azure.core.util.Context;
+import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.core.util.polling.AsyncPollResponse;
import com.azure.core.util.polling.LongRunningOperationStatus;
@@ -36,7 +37,6 @@
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.time.Duration;
-import java.util.Map;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
@@ -238,7 +238,7 @@ public SignalRSharedPrivateLinkResourcesClient getSignalRSharedPrivateLinkResour
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2022-02-01";
+ this.apiVersion = "2022-08-01-preview";
this.operations = new OperationsClientImpl(this);
this.signalRs = new SignalRsClientImpl(this);
this.usages = new UsagesClientImpl(this);
@@ -265,10 +265,7 @@ public Context getContext() {
* @return the merged context.
*/
public Context mergeContext(Context context) {
- for (Map.Entry