diff --git a/sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md b/sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md
index 8cc906f48770..af12b1eb9a1a 100644
--- a/sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md
+++ b/sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
-## 1.0.0-beta.6 (Unreleased)
+## 1.0.0-beta.1 (2022-02-10)
+
+- Azure Resource Manager Synapse client library for Java. This package contains Microsoft Azure SDK for Synapse Management SDK. Azure Synapse Analytics Management Client. Package tag package-composite-v2. 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/synapse/azure-resourcemanager-synapse/README.md b/sdk/synapse/azure-resourcemanager-synapse/README.md
index 9b7cdba62258..0b2a79cae84c 100644
--- a/sdk/synapse/azure-resourcemanager-synapse/README.md
+++ b/sdk/synapse/azure-resourcemanager-synapse/README.md
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-synapse
- 1.0.0-beta.5
+ 1.0.0-beta.6
```
[//]: # ({x-version-update-end})
diff --git a/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md b/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md
index e280e03f5c48..c36234193596 100644
--- a/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md
+++ b/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md
@@ -387,6 +387,12 @@
- [Get](#workspacemanagedsqlserverblobauditingpolicies_get)
- [ListByWorkspace](#workspacemanagedsqlserverblobauditingpolicies_listbyworkspace)
+## WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings
+
+- [Get](#workspacemanagedsqlserverdedicatedsqlminimaltlssettings_get)
+- [List](#workspacemanagedsqlserverdedicatedsqlminimaltlssettings_list)
+- [Update](#workspacemanagedsqlserverdedicatedsqlminimaltlssettings_update)
+
## WorkspaceManagedSqlServerEncryptionProtector
- [CreateOrUpdate](#workspacemanagedsqlserverencryptionprotector_createorupdate)
@@ -5986,6 +5992,85 @@ public final class WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceS
}
```
+### WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings Get. */
+public final class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetSamples {
+ /*
+ * x-ms-original-file: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json
+ */
+ /**
+ * Sample code: Get workspace managed sql server dedicated sql minimal tls settings.
+ *
+ * @param manager Entry point to SynapseManager.
+ */
+ public static void getWorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings(
+ com.azure.resourcemanager.synapse.SynapseManager manager) {
+ manager
+ .workspaceManagedSqlServerDedicatedSQLminimalTlsSettings()
+ .getWithResponse("workspace-6852", "workspace-2080", "default", Context.NONE);
+ }
+}
+```
+
+### WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings List. */
+public final class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListSamples {
+ /*
+ * x-ms-original-file: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json
+ */
+ /**
+ * Sample code: List dedicated sql minimal tls settings of the workspace managed sql server.
+ *
+ * @param manager Entry point to SynapseManager.
+ */
+ public static void listDedicatedSqlMinimalTlsSettingsOfTheWorkspaceManagedSqlServer(
+ com.azure.resourcemanager.synapse.SynapseManager manager) {
+ manager
+ .workspaceManagedSqlServerDedicatedSQLminimalTlsSettings()
+ .list("workspace-6852", "workspace-2080", Context.NONE);
+ }
+}
+```
+
+### WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings_Update
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+import com.azure.resourcemanager.synapse.models.DedicatedSqlMinimalTlsSettingsName;
+
+/** Samples for WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings Update. */
+public final class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateSamples {
+ /*
+ * x-ms-original-file: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json
+ */
+ /**
+ * Sample code: Update tls version of the workspace managed sql server.
+ *
+ * @param manager Entry point to SynapseManager.
+ */
+ public static void updateTlsVersionOfTheWorkspaceManagedSqlServer(
+ com.azure.resourcemanager.synapse.SynapseManager manager) {
+ manager
+ .workspaceManagedSqlServerDedicatedSQLminimalTlsSettings()
+ .update(
+ "workspace-6852",
+ "workspace-2080",
+ DedicatedSqlMinimalTlsSettingsName.DEFAULT,
+ new DedicatedSQLminimalTlsSettingsInner().withMinimalTlsVersion("1.1"),
+ Context.NONE);
+ }
+}
+```
+
### WorkspaceManagedSqlServerEncryptionProtector_CreateOrUpdate
```java
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java
index b0acc6b89477..72adacf70bf6 100644
--- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java
@@ -87,6 +87,7 @@
import com.azure.resourcemanager.synapse.implementation.WorkspaceAadAdminsImpl;
import com.azure.resourcemanager.synapse.implementation.WorkspaceManagedIdentitySqlControlSettingsImpl;
import com.azure.resourcemanager.synapse.implementation.WorkspaceManagedSqlServerBlobAuditingPoliciesImpl;
+import com.azure.resourcemanager.synapse.implementation.WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl;
import com.azure.resourcemanager.synapse.implementation.WorkspaceManagedSqlServerEncryptionProtectorsImpl;
import com.azure.resourcemanager.synapse.implementation.WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl;
import com.azure.resourcemanager.synapse.implementation.WorkspaceManagedSqlServerRecoverableSqlPoolsImpl;
@@ -159,6 +160,7 @@
import com.azure.resourcemanager.synapse.models.WorkspaceAadAdmins;
import com.azure.resourcemanager.synapse.models.WorkspaceManagedIdentitySqlControlSettings;
import com.azure.resourcemanager.synapse.models.WorkspaceManagedSqlServerBlobAuditingPolicies;
+import com.azure.resourcemanager.synapse.models.WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings;
import com.azure.resourcemanager.synapse.models.WorkspaceManagedSqlServerEncryptionProtectors;
import com.azure.resourcemanager.synapse.models.WorkspaceManagedSqlServerExtendedBlobAuditingPolicies;
import com.azure.resourcemanager.synapse.models.WorkspaceManagedSqlServerRecoverableSqlPools;
@@ -266,6 +268,9 @@ public final class SynapseManager {
private WorkspaceManagedSqlServerRecoverableSqlPools workspaceManagedSqlServerRecoverableSqlPools;
+ private WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings
+ workspaceManagedSqlServerDedicatedSQLminimalTlsSettings;
+
private Workspaces workspaces;
private WorkspaceAadAdmins workspaceAadAdmins;
@@ -456,7 +461,7 @@ public SynapseManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.synapse")
.append("/")
- .append("1.0.0-beta.5");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
@@ -909,6 +914,17 @@ public WorkspaceManagedSqlServerRecoverableSqlPools workspaceManagedSqlServerRec
return workspaceManagedSqlServerRecoverableSqlPools;
}
+ /** @return Resource collection API of WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings. */
+ public WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings
+ workspaceManagedSqlServerDedicatedSQLminimalTlsSettings() {
+ if (this.workspaceManagedSqlServerDedicatedSQLminimalTlsSettings == null) {
+ this.workspaceManagedSqlServerDedicatedSQLminimalTlsSettings =
+ new WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl(
+ clientObject.getWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings(), this);
+ }
+ return workspaceManagedSqlServerDedicatedSQLminimalTlsSettings;
+ }
+
/** @return Resource collection API of Workspaces. */
public Workspaces workspaces() {
if (this.workspaces == null) {
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SynapseManagementClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SynapseManagementClient.java
index d1e5808b42f0..9b28ce6700e6 100644
--- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SynapseManagementClient.java
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SynapseManagementClient.java
@@ -353,6 +353,14 @@ public interface SynapseManagementClient {
*/
WorkspaceManagedSqlServerRecoverableSqlPoolsClient getWorkspaceManagedSqlServerRecoverableSqlPools();
+ /**
+ * Gets the WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient object to access its operations.
+ *
+ * @return the WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient object.
+ */
+ WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient
+ getWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings();
+
/**
* Gets the WorkspacesClient object to access its operations.
*
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient.java
new file mode 100644
index 000000000000..88dc4a5763f8
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient.java
@@ -0,0 +1,163 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+import com.azure.resourcemanager.synapse.models.DedicatedSqlMinimalTlsSettingsName;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient.
+ */
+public interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient {
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DedicatedSQLminimalTlsSettingsInner> beginUpdate(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters);
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DedicatedSQLminimalTlsSettingsInner> beginUpdate(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context);
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DedicatedSQLminimalTlsSettingsInner update(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters);
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DedicatedSQLminimalTlsSettingsInner update(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context);
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DedicatedSQLminimalTlsSettingsInner get(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName);
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName, Context context);
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String workspaceName, Context context);
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DedicatedSQLminimalTlsSettingsInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DedicatedSQLminimalTlsSettingsInner.java
new file mode 100644
index 000000000000..62a635802e63
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DedicatedSQLminimalTlsSettingsInner.java
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Dedicated Sql Minimal Tls Settings Info. */
+@Fluent
+public final class DedicatedSQLminimalTlsSettingsInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DedicatedSQLminimalTlsSettingsInner.class);
+
+ /*
+ * Resource location.
+ */
+ @JsonProperty(value = "location", access = JsonProperty.Access.WRITE_ONLY)
+ private String location;
+
+ /*
+ * Resource properties.
+ */
+ @JsonProperty(value = "properties")
+ private DedicatedSQLminimalTlsSettingsProperties innerProperties;
+
+ /**
+ * Get the location property: Resource location.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Get the innerProperties property: Resource properties.
+ *
+ * @return the innerProperties value.
+ */
+ private DedicatedSQLminimalTlsSettingsProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * Get the minimalTlsVersion property: The minimal tls version of the sql server.
+ *
+ * @return the minimalTlsVersion value.
+ */
+ public String minimalTlsVersion() {
+ return this.innerProperties() == null ? null : this.innerProperties().minimalTlsVersion();
+ }
+
+ /**
+ * Set the minimalTlsVersion property: The minimal tls version of the sql server.
+ *
+ * @param minimalTlsVersion the minimalTlsVersion value to set.
+ * @return the DedicatedSQLminimalTlsSettingsInner object itself.
+ */
+ public DedicatedSQLminimalTlsSettingsInner withMinimalTlsVersion(String minimalTlsVersion) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new DedicatedSQLminimalTlsSettingsProperties();
+ }
+ this.innerProperties().withMinimalTlsVersion(minimalTlsVersion);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DedicatedSQLminimalTlsSettingsProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DedicatedSQLminimalTlsSettingsProperties.java
new file mode 100644
index 000000000000..4c0385234882
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DedicatedSQLminimalTlsSettingsProperties.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Properties of a dedicated sql minimal tls settings. */
+@Fluent
+public final class DedicatedSQLminimalTlsSettingsProperties {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DedicatedSQLminimalTlsSettingsProperties.class);
+
+ /*
+ * The minimal tls version of the sql server.
+ */
+ @JsonProperty(value = "minimalTlsVersion")
+ private String minimalTlsVersion;
+
+ /**
+ * Get the minimalTlsVersion property: The minimal tls version of the sql server.
+ *
+ * @return the minimalTlsVersion value.
+ */
+ public String minimalTlsVersion() {
+ return this.minimalTlsVersion;
+ }
+
+ /**
+ * Set the minimalTlsVersion property: The minimal tls version of the sql server.
+ *
+ * @param minimalTlsVersion the minimalTlsVersion value to set.
+ * @return the DedicatedSQLminimalTlsSettingsProperties object itself.
+ */
+ public DedicatedSQLminimalTlsSettingsProperties withMinimalTlsVersion(String minimalTlsVersion) {
+ this.minimalTlsVersion = minimalTlsVersion;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DedicatedSQLminimalTlsSettingsImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DedicatedSQLminimalTlsSettingsImpl.java
new file mode 100644
index 000000000000..af49d65b0e07
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DedicatedSQLminimalTlsSettingsImpl.java
@@ -0,0 +1,49 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.implementation;
+
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+import com.azure.resourcemanager.synapse.models.DedicatedSQLminimalTlsSettings;
+
+public final class DedicatedSQLminimalTlsSettingsImpl implements DedicatedSQLminimalTlsSettings {
+ private DedicatedSQLminimalTlsSettingsInner innerObject;
+
+ private final com.azure.resourcemanager.synapse.SynapseManager serviceManager;
+
+ DedicatedSQLminimalTlsSettingsImpl(
+ DedicatedSQLminimalTlsSettingsInner innerObject,
+ com.azure.resourcemanager.synapse.SynapseManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String location() {
+ return this.innerModel().location();
+ }
+
+ public String minimalTlsVersion() {
+ return this.innerModel().minimalTlsVersion();
+ }
+
+ public DedicatedSQLminimalTlsSettingsInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.synapse.SynapseManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientImpl.java
index 14312f876e93..ac51f75b527c 100644
--- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientImpl.java
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientImpl.java
@@ -86,6 +86,7 @@
import com.azure.resourcemanager.synapse.fluent.WorkspaceAadAdminsClient;
import com.azure.resourcemanager.synapse.fluent.WorkspaceManagedIdentitySqlControlSettingsClient;
import com.azure.resourcemanager.synapse.fluent.WorkspaceManagedSqlServerBlobAuditingPoliciesClient;
+import com.azure.resourcemanager.synapse.fluent.WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient;
import com.azure.resourcemanager.synapse.fluent.WorkspaceManagedSqlServerEncryptionProtectorsClient;
import com.azure.resourcemanager.synapse.fluent.WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClient;
import com.azure.resourcemanager.synapse.fluent.WorkspaceManagedSqlServerRecoverableSqlPoolsClient;
@@ -713,6 +714,20 @@ public WorkspaceManagedSqlServerRecoverableSqlPoolsClient getWorkspaceManagedSql
return this.workspaceManagedSqlServerRecoverableSqlPools;
}
+ /** The WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient object to access its operations. */
+ private final WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient
+ workspaceManagedSqlServerDedicatedSQLminimalTlsSettings;
+
+ /**
+ * Gets the WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient object to access its operations.
+ *
+ * @return the WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient object.
+ */
+ public WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient
+ getWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings() {
+ return this.workspaceManagedSqlServerDedicatedSQLminimalTlsSettings;
+ }
+
/** The WorkspacesClient object to access its operations. */
private final WorkspacesClient workspaces;
@@ -1111,6 +1126,8 @@ public KustoPoolDatabasePrincipalAssignmentsClient getKustoPoolDatabasePrincipal
this.workspaceManagedSqlServerUsages = new WorkspaceManagedSqlServerUsagesClientImpl(this);
this.workspaceManagedSqlServerRecoverableSqlPools =
new WorkspaceManagedSqlServerRecoverableSqlPoolsClientImpl(this);
+ this.workspaceManagedSqlServerDedicatedSQLminimalTlsSettings =
+ new WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientImpl(this);
this.workspaces = new WorkspacesClientImpl(this);
this.workspaceAadAdmins = new WorkspaceAadAdminsClientImpl(this);
this.workspaceSqlAadAdmins = new WorkspaceSqlAadAdminsClientImpl(this);
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientImpl.java
new file mode 100644
index 000000000000..cf0cf29cfbef
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientImpl.java
@@ -0,0 +1,917 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.synapse.fluent.WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient;
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+import com.azure.resourcemanager.synapse.models.DedicatedSQLminimalTlsSettingsListResult;
+import com.azure.resourcemanager.synapse.models.DedicatedSqlMinimalTlsSettingsName;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient.
+ */
+public final class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientImpl
+ implements WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient {
+ private final ClientLogger logger =
+ new ClientLogger(WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientImpl.class);
+
+ /** The proxy service used to perform REST calls. */
+ private final WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsService service;
+
+ /** The service client containing this operation class. */
+ private final SynapseManagementClientImpl client;
+
+ /**
+ * Initializes an instance of WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientImpl(SynapseManagementClientImpl client) {
+ this.service =
+ RestProxy
+ .create(
+ WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsService.class,
+ client.getHttpPipeline(),
+ client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for
+ * SynapseManagementClientWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings to be used by the proxy service to
+ * perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "SynapseManagementCli")
+ private interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsService {
+ @Headers({"Content-Type: application/json"})
+ @Put(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces"
+ + "/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}")
+ @ExpectedResponses({200, 202})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> update(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("workspaceName") String workspaceName,
+ @PathParam("dedicatedSQLminimalTlsSettingsName")
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ @BodyParam("application/json") DedicatedSQLminimalTlsSettingsInner parameters,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces"
+ + "/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("workspaceName") String workspaceName,
+ @PathParam("dedicatedSQLminimalTlsSettingsName") String dedicatedSQLminimalTlsSettingsName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces"
+ + "/{workspaceName}/dedicatedSQLminimalTlsSettings")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> list(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("workspaceName") String workspaceName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> updateWithResponseAsync(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ if (dedicatedSQLminimalTlsSettingsName == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter dedicatedSQLminimalTlsSettingsName is required and cannot be null."));
+ }
+ if (parameters == null) {
+ return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
+ } else {
+ parameters.validate();
+ }
+ final String apiVersion = "2021-06-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .update(
+ this.client.getEndpoint(),
+ apiVersion,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ dedicatedSQLminimalTlsSettingsName,
+ parameters,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> updateWithResponseAsync(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ if (dedicatedSQLminimalTlsSettingsName == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter dedicatedSQLminimalTlsSettingsName is required and cannot be null."));
+ }
+ if (parameters == null) {
+ return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
+ } else {
+ parameters.validate();
+ }
+ final String apiVersion = "2021-06-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .update(
+ this.client.getEndpoint(),
+ apiVersion,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ dedicatedSQLminimalTlsSettingsName,
+ parameters,
+ accept,
+ context);
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, DedicatedSQLminimalTlsSettingsInner>
+ beginUpdateAsync(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters) {
+ Mono>> mono =
+ updateWithResponseAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters);
+ return this
+ .client
+ .getLroResult(
+ mono,
+ this.client.getHttpPipeline(),
+ DedicatedSQLminimalTlsSettingsInner.class,
+ DedicatedSQLminimalTlsSettingsInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, DedicatedSQLminimalTlsSettingsInner>
+ beginUpdateAsync(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono =
+ updateWithResponseAsync(
+ resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters, context);
+ return this
+ .client
+ .getLroResult(
+ mono,
+ this.client.getHttpPipeline(),
+ DedicatedSQLminimalTlsSettingsInner.class,
+ DedicatedSQLminimalTlsSettingsInner.class,
+ context);
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, DedicatedSQLminimalTlsSettingsInner> beginUpdate(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters) {
+ return beginUpdateAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters)
+ .getSyncPoller();
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, DedicatedSQLminimalTlsSettingsInner> beginUpdate(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context) {
+ return beginUpdateAsync(
+ resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters, context)
+ .getSyncPoller();
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters) {
+ return beginUpdateAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context) {
+ return beginUpdateAsync(
+ resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters, context)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public DedicatedSQLminimalTlsSettingsInner update(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters) {
+ return updateAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters).block();
+ }
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public DedicatedSQLminimalTlsSettingsInner update(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context) {
+ return updateAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters, context)
+ .block();
+ }
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings along with {@link Response} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ if (dedicatedSQLminimalTlsSettingsName == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter dedicatedSQLminimalTlsSettingsName is required and cannot be null."));
+ }
+ final String apiVersion = "2021-06-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .get(
+ this.client.getEndpoint(),
+ apiVersion,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ dedicatedSQLminimalTlsSettingsName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings along with {@link Response} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ if (dedicatedSQLminimalTlsSettingsName == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter dedicatedSQLminimalTlsSettingsName is required and cannot be null."));
+ }
+ final String apiVersion = "2021-06-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .get(
+ this.client.getEndpoint(),
+ apiVersion,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ dedicatedSQLminimalTlsSettingsName,
+ accept,
+ context);
+ }
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getAsync(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName) {
+ return getWithResponseAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName)
+ .flatMap(
+ (Response res) -> {
+ if (res.getValue() != null) {
+ return Mono.just(res.getValue());
+ } else {
+ return Mono.empty();
+ }
+ });
+ }
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public DedicatedSQLminimalTlsSettingsInner get(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName) {
+ return getAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName).block();
+ }
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getWithResponse(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName, Context context) {
+ return getWithResponseAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, context)
+ .block();
+ }
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(
+ String resourceGroupName, String workspaceName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ final String apiVersion = "2021-06-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .list(
+ this.client.getEndpoint(),
+ apiVersion,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ accept,
+ context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @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 list of the server's dedicated sql minimal tls settings along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(
+ String resourceGroupName, String workspaceName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (workspaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null."));
+ }
+ final String apiVersion = "2021-06-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .list(
+ this.client.getEndpoint(),
+ apiVersion,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ workspaceName,
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(String resourceGroupName, String workspaceName) {
+ return new PagedFlux<>(
+ () -> listSinglePageAsync(resourceGroupName, workspaceName), nextLink -> listNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @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 list of the server's dedicated sql minimal tls settings.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(
+ String resourceGroupName, String workspaceName, Context context) {
+ return new PagedFlux<>(
+ () -> listSinglePageAsync(resourceGroupName, workspaceName, context),
+ nextLink -> listNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(String resourceGroupName, String workspaceName) {
+ return new PagedIterable<>(listAsync(resourceGroupName, workspaceName));
+ }
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @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 list of the server's dedicated sql minimal tls settings.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(
+ String resourceGroupName, String workspaceName, Context context) {
+ return new PagedIterable<>(listAsync(resourceGroupName, workspaceName, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listNextSinglePageAsync(String nextLink) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listNextSinglePageAsync(
+ String nextLink, Context context) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl.java
new file mode 100644
index 000000000000..7452f99a26c5
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl.java
@@ -0,0 +1,117 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.implementation;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.SimpleResponse;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.synapse.fluent.WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient;
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+import com.azure.resourcemanager.synapse.models.DedicatedSQLminimalTlsSettings;
+import com.azure.resourcemanager.synapse.models.DedicatedSqlMinimalTlsSettingsName;
+import com.azure.resourcemanager.synapse.models.WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+
+public final class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl
+ implements WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings {
+ @JsonIgnore
+ private final ClientLogger logger =
+ new ClientLogger(WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl.class);
+
+ private final WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient innerClient;
+
+ private final com.azure.resourcemanager.synapse.SynapseManager serviceManager;
+
+ public WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl(
+ WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient innerClient,
+ com.azure.resourcemanager.synapse.SynapseManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public DedicatedSQLminimalTlsSettings update(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters) {
+ DedicatedSQLminimalTlsSettingsInner inner =
+ this
+ .serviceClient()
+ .update(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters);
+ if (inner != null) {
+ return new DedicatedSQLminimalTlsSettingsImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public DedicatedSQLminimalTlsSettings update(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context) {
+ DedicatedSQLminimalTlsSettingsInner inner =
+ this
+ .serviceClient()
+ .update(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters, context);
+ if (inner != null) {
+ return new DedicatedSQLminimalTlsSettingsImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public DedicatedSQLminimalTlsSettings get(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName) {
+ DedicatedSQLminimalTlsSettingsInner inner =
+ this.serviceClient().get(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName);
+ if (inner != null) {
+ return new DedicatedSQLminimalTlsSettingsImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public Response getWithResponse(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName, Context context) {
+ Response inner =
+ this
+ .serviceClient()
+ .getWithResponse(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, context);
+ if (inner != null) {
+ return new SimpleResponse<>(
+ inner.getRequest(),
+ inner.getStatusCode(),
+ inner.getHeaders(),
+ new DedicatedSQLminimalTlsSettingsImpl(inner.getValue(), this.manager()));
+ } else {
+ return null;
+ }
+ }
+
+ public PagedIterable list(String resourceGroupName, String workspaceName) {
+ PagedIterable inner =
+ this.serviceClient().list(resourceGroupName, workspaceName);
+ return Utils.mapPage(inner, inner1 -> new DedicatedSQLminimalTlsSettingsImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable list(
+ String resourceGroupName, String workspaceName, Context context) {
+ PagedIterable inner =
+ this.serviceClient().list(resourceGroupName, workspaceName, context);
+ return Utils.mapPage(inner, inner1 -> new DedicatedSQLminimalTlsSettingsImpl(inner1, this.manager()));
+ }
+
+ private WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.synapse.SynapseManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSQLminimalTlsSettings.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSQLminimalTlsSettings.java
new file mode 100644
index 000000000000..420ca640b325
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSQLminimalTlsSettings.java
@@ -0,0 +1,52 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.models;
+
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+
+/** An immutable client-side representation of DedicatedSQLminimalTlsSettings. */
+public interface DedicatedSQLminimalTlsSettings {
+ /**
+ * Gets the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * Gets the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * Gets the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * Gets the location property: Resource location.
+ *
+ * @return the location value.
+ */
+ String location();
+
+ /**
+ * Gets the minimalTlsVersion property: The minimal tls version of the sql server.
+ *
+ * @return the minimalTlsVersion value.
+ */
+ String minimalTlsVersion();
+
+ /**
+ * Gets the inner com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner object.
+ *
+ * @return the inner object.
+ */
+ DedicatedSQLminimalTlsSettingsInner innerModel();
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSQLminimalTlsSettingsListResult.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSQLminimalTlsSettingsListResult.java
new file mode 100644
index 000000000000..2d629364dae0
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSQLminimalTlsSettingsListResult.java
@@ -0,0 +1,59 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** A list of the server's dedicated sql minimal tls settings. */
+@Immutable
+public final class DedicatedSQLminimalTlsSettingsListResult {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DedicatedSQLminimalTlsSettingsListResult.class);
+
+ /*
+ * Array of results.
+ */
+ @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY)
+ private List value;
+
+ /*
+ * Link to retrieve next page of results.
+ */
+ @JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY)
+ private String nextLink;
+
+ /**
+ * Get the value property: Array of results.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Get the nextLink property: Link to retrieve next page of results.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() != null) {
+ value().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSqlMinimalTlsSettingsName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSqlMinimalTlsSettingsName.java
new file mode 100644
index 000000000000..911d5e73f9b7
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSqlMinimalTlsSettingsName.java
@@ -0,0 +1,31 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import java.util.Collection;
+
+/** Defines values for DedicatedSqlMinimalTlsSettingsName. */
+public final class DedicatedSqlMinimalTlsSettingsName extends ExpandableStringEnum {
+ /** Static value default for DedicatedSqlMinimalTlsSettingsName. */
+ public static final DedicatedSqlMinimalTlsSettingsName DEFAULT = fromString("default");
+
+ /**
+ * Creates or finds a DedicatedSqlMinimalTlsSettingsName from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding DedicatedSqlMinimalTlsSettingsName.
+ */
+ @JsonCreator
+ public static DedicatedSqlMinimalTlsSettingsName fromString(String name) {
+ return fromString(name, DedicatedSqlMinimalTlsSettingsName.class);
+ }
+
+ /** @return known DedicatedSqlMinimalTlsSettingsName values. */
+ public static Collection values() {
+ return values(DedicatedSqlMinimalTlsSettingsName.class);
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.java
new file mode 100644
index 000000000000..dfe8ad4e9fdc
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.java
@@ -0,0 +1,105 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.models;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+
+/** Resource collection API of WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings. */
+public interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings {
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info.
+ */
+ DedicatedSQLminimalTlsSettings update(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters);
+
+ /**
+ * Update workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @param parameters minimal tls settings.
+ * @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 dedicated Sql Minimal Tls Settings Info.
+ */
+ DedicatedSQLminimalTlsSettings update(
+ String resourceGroupName,
+ String workspaceName,
+ DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName,
+ DedicatedSQLminimalTlsSettingsInner parameters,
+ Context context);
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings.
+ */
+ DedicatedSQLminimalTlsSettings get(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName);
+
+ /**
+ * Get workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings.
+ * @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 workspace managed sql server's minimal tls settings along with {@link Response}.
+ */
+ Response getWithResponse(
+ String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName, Context context);
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings.
+ */
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * List workspace managed sql server's minimal tls settings.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the server's dedicated sql minimal tls settings.
+ */
+ PagedIterable list(String resourceGroupName, String workspaceName, Context context);
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetSamples.java b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetSamples.java
new file mode 100644
index 000000000000..69bfb653c205
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetSamples.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.generated;
+
+import com.azure.core.util.Context;
+
+/** Samples for WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings Get. */
+public final class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetSamples {
+ /*
+ * x-ms-original-file: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json
+ */
+ /**
+ * Sample code: Get workspace managed sql server dedicated sql minimal tls settings.
+ *
+ * @param manager Entry point to SynapseManager.
+ */
+ public static void getWorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings(
+ com.azure.resourcemanager.synapse.SynapseManager manager) {
+ manager
+ .workspaceManagedSqlServerDedicatedSQLminimalTlsSettings()
+ .getWithResponse("workspace-6852", "workspace-2080", "default", Context.NONE);
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListSamples.java b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListSamples.java
new file mode 100644
index 000000000000..d1c762407a19
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListSamples.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.generated;
+
+import com.azure.core.util.Context;
+
+/** Samples for WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings List. */
+public final class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListSamples {
+ /*
+ * x-ms-original-file: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json
+ */
+ /**
+ * Sample code: List dedicated sql minimal tls settings of the workspace managed sql server.
+ *
+ * @param manager Entry point to SynapseManager.
+ */
+ public static void listDedicatedSqlMinimalTlsSettingsOfTheWorkspaceManagedSqlServer(
+ com.azure.resourcemanager.synapse.SynapseManager manager) {
+ manager
+ .workspaceManagedSqlServerDedicatedSQLminimalTlsSettings()
+ .list("workspace-6852", "workspace-2080", Context.NONE);
+ }
+}
diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateSamples.java b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateSamples.java
new file mode 100644
index 000000000000..65394fb151a2
--- /dev/null
+++ b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateSamples.java
@@ -0,0 +1,32 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.synapse.generated;
+
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner;
+import com.azure.resourcemanager.synapse.models.DedicatedSqlMinimalTlsSettingsName;
+
+/** Samples for WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings Update. */
+public final class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateSamples {
+ /*
+ * x-ms-original-file: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json
+ */
+ /**
+ * Sample code: Update tls version of the workspace managed sql server.
+ *
+ * @param manager Entry point to SynapseManager.
+ */
+ public static void updateTlsVersionOfTheWorkspaceManagedSqlServer(
+ com.azure.resourcemanager.synapse.SynapseManager manager) {
+ manager
+ .workspaceManagedSqlServerDedicatedSQLminimalTlsSettings()
+ .update(
+ "workspace-6852",
+ "workspace-2080",
+ DedicatedSqlMinimalTlsSettingsName.DEFAULT,
+ new DedicatedSQLminimalTlsSettingsInner().withMinimalTlsVersion("1.1"),
+ Context.NONE);
+ }
+}