Interface ServerConnectionPoliciesClient
-
public interface ServerConnectionPoliciesClientAn instance of this class provides access to all the operations defined in ServerConnectionPoliciesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerConnectionPolicyInnercreateOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)Creates or updates the server's connection policy.Mono<ServerConnectionPolicyInner>createOrUpdateAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)Creates or updates the server's connection policy.Mono<ServerConnectionPolicyInner>createOrUpdateAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionType connectionType)Creates or updates the server's connection policy.com.azure.core.http.rest.Response<ServerConnectionPolicyInner>createOrUpdateWithResponse(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionType connectionType, com.azure.core.util.Context context)Creates or updates the server's connection policy.Mono<com.azure.core.http.rest.Response<ServerConnectionPolicyInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionType connectionType)Creates or updates the server's connection policy.ServerConnectionPolicyInnerget(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)Gets the server's secure connection policy.Mono<ServerConnectionPolicyInner>getAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)Gets the server's secure connection policy.com.azure.core.http.rest.Response<ServerConnectionPolicyInner>getWithResponse(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, com.azure.core.util.Context context)Gets the server's secure connection policy.Mono<com.azure.core.http.rest.Response<ServerConnectionPolicyInner>>getWithResponseAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)Gets the server's secure connection policy.
-
-
-
Method Detail
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServerConnectionPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionType connectionType)
Creates or updates the server's connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.connectionType- The server connection type.- Returns:
- a server secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ServerConnectionPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionType connectionType)
Creates or updates the server's connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.connectionType- The server connection type.- Returns:
- a server secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ServerConnectionPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)
Creates or updates the server's connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.- Returns:
- a server secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ServerConnectionPolicyInner createOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)
Creates or updates the server's connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.- Returns:
- a server secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<ServerConnectionPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionType connectionType, com.azure.core.util.Context context)
Creates or updates the server's connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.connectionType- The server connection type.context- The context to associate with this operation.- Returns:
- a server secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServerConnectionPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)
Gets the server's secure connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.- Returns:
- the server's secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<ServerConnectionPolicyInner> getAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)
Gets the server's secure connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.- Returns:
- the server's secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
ServerConnectionPolicyInner get(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)
Gets the server's secure connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.- Returns:
- the server's secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ServerConnectionPolicyInner> getWithResponse(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, com.azure.core.util.Context context)
Gets the server's secure connection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.connectionPolicyName- The name of the connection policy.context- The context to associate with this operation.- Returns:
- the server's secure connection policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-