|
| 1 | +// Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | +// Licensed under the MIT License. |
| 3 | +// Code generated by Microsoft (R) AutoRest Code Generator. |
| 4 | + |
| 5 | +package com.azure.resourcemanager.synapse.fluent; |
| 6 | + |
| 7 | +import com.azure.core.annotation.ReturnType; |
| 8 | +import com.azure.core.annotation.ServiceMethod; |
| 9 | +import com.azure.core.http.rest.PagedIterable; |
| 10 | +import com.azure.core.http.rest.Response; |
| 11 | +import com.azure.core.management.polling.PollResult; |
| 12 | +import com.azure.core.util.Context; |
| 13 | +import com.azure.core.util.polling.SyncPoller; |
| 14 | +import com.azure.resourcemanager.synapse.fluent.models.DedicatedSQLminimalTlsSettingsInner; |
| 15 | +import com.azure.resourcemanager.synapse.models.DedicatedSqlMinimalTlsSettingsName; |
| 16 | +import reactor.core.publisher.Mono; |
| 17 | + |
| 18 | +/** |
| 19 | + * An instance of this class provides access to all the operations defined in |
| 20 | + * WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient. |
| 21 | + */ |
| 22 | +public interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient { |
| 23 | + /** |
| 24 | + * Update workspace managed sql server's minimal tls settings. |
| 25 | + * |
| 26 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 27 | + * @param workspaceName The name of the workspace. |
| 28 | + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. |
| 29 | + * @param parameters minimal tls settings. |
| 30 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 31 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 32 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 33 | + * @return dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link |
| 34 | + * Mono}. |
| 35 | + */ |
| 36 | + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) |
| 37 | + SyncPoller<PollResult<DedicatedSQLminimalTlsSettingsInner>, DedicatedSQLminimalTlsSettingsInner> beginUpdate( |
| 38 | + String resourceGroupName, |
| 39 | + String workspaceName, |
| 40 | + DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName, |
| 41 | + DedicatedSQLminimalTlsSettingsInner parameters); |
| 42 | + |
| 43 | + /** |
| 44 | + * Update workspace managed sql server's minimal tls settings. |
| 45 | + * |
| 46 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 47 | + * @param workspaceName The name of the workspace. |
| 48 | + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. |
| 49 | + * @param parameters minimal tls settings. |
| 50 | + * @param context The context to associate with this operation. |
| 51 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 52 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 53 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 54 | + * @return dedicated Sql Minimal Tls Settings Info along with {@link Response} on successful completion of {@link |
| 55 | + * Mono}. |
| 56 | + */ |
| 57 | + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) |
| 58 | + SyncPoller<PollResult<DedicatedSQLminimalTlsSettingsInner>, DedicatedSQLminimalTlsSettingsInner> beginUpdate( |
| 59 | + String resourceGroupName, |
| 60 | + String workspaceName, |
| 61 | + DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName, |
| 62 | + DedicatedSQLminimalTlsSettingsInner parameters, |
| 63 | + Context context); |
| 64 | + |
| 65 | + /** |
| 66 | + * Update workspace managed sql server's minimal tls settings. |
| 67 | + * |
| 68 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 69 | + * @param workspaceName The name of the workspace. |
| 70 | + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. |
| 71 | + * @param parameters minimal tls settings. |
| 72 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 73 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 74 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 75 | + * @return dedicated Sql Minimal Tls Settings Info. |
| 76 | + */ |
| 77 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 78 | + DedicatedSQLminimalTlsSettingsInner update( |
| 79 | + String resourceGroupName, |
| 80 | + String workspaceName, |
| 81 | + DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName, |
| 82 | + DedicatedSQLminimalTlsSettingsInner parameters); |
| 83 | + |
| 84 | + /** |
| 85 | + * Update workspace managed sql server's minimal tls settings. |
| 86 | + * |
| 87 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 88 | + * @param workspaceName The name of the workspace. |
| 89 | + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. |
| 90 | + * @param parameters minimal tls settings. |
| 91 | + * @param context The context to associate with this operation. |
| 92 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 93 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 94 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 95 | + * @return dedicated Sql Minimal Tls Settings Info. |
| 96 | + */ |
| 97 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 98 | + DedicatedSQLminimalTlsSettingsInner update( |
| 99 | + String resourceGroupName, |
| 100 | + String workspaceName, |
| 101 | + DedicatedSqlMinimalTlsSettingsName dedicatedSQLminimalTlsSettingsName, |
| 102 | + DedicatedSQLminimalTlsSettingsInner parameters, |
| 103 | + Context context); |
| 104 | + |
| 105 | + /** |
| 106 | + * Get workspace managed sql server's minimal tls settings. |
| 107 | + * |
| 108 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 109 | + * @param workspaceName The name of the workspace. |
| 110 | + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. |
| 111 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 112 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 113 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 114 | + * @return workspace managed sql server's minimal tls settings. |
| 115 | + */ |
| 116 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 117 | + DedicatedSQLminimalTlsSettingsInner get( |
| 118 | + String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName); |
| 119 | + |
| 120 | + /** |
| 121 | + * Get workspace managed sql server's minimal tls settings. |
| 122 | + * |
| 123 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 124 | + * @param workspaceName The name of the workspace. |
| 125 | + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. |
| 126 | + * @param context The context to associate with this operation. |
| 127 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 128 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 129 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 130 | + * @return workspace managed sql server's minimal tls settings along with {@link Response}. |
| 131 | + */ |
| 132 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 133 | + Response<DedicatedSQLminimalTlsSettingsInner> getWithResponse( |
| 134 | + String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName, Context context); |
| 135 | + |
| 136 | + /** |
| 137 | + * List workspace managed sql server's minimal tls settings. |
| 138 | + * |
| 139 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 140 | + * @param workspaceName The name of the workspace. |
| 141 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 142 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 143 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 144 | + * @return a list of the server's dedicated sql minimal tls settings. |
| 145 | + */ |
| 146 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 147 | + PagedIterable<DedicatedSQLminimalTlsSettingsInner> list(String resourceGroupName, String workspaceName); |
| 148 | + |
| 149 | + /** |
| 150 | + * List workspace managed sql server's minimal tls settings. |
| 151 | + * |
| 152 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 153 | + * @param workspaceName The name of the workspace. |
| 154 | + * @param context The context to associate with this operation. |
| 155 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 156 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 157 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 158 | + * @return a list of the server's dedicated sql minimal tls settings. |
| 159 | + */ |
| 160 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 161 | + PagedIterable<DedicatedSQLminimalTlsSettingsInner> list( |
| 162 | + String resourceGroupName, String workspaceName, Context context); |
| 163 | +} |
0 commit comments