Interface ServerCommunicationLinksClient
-
public interface ServerCommunicationLinksClientAn instance of this class provides access to all the operations defined in ServerCommunicationLinksClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerCommunicationLinkInner>,ServerCommunicationLinkInner>beginCreateOrUpdate(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)Creates a server communication link.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerCommunicationLinkInner>,ServerCommunicationLinkInner>beginCreateOrUpdate(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer, com.azure.core.util.Context context)Creates a server communication link.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerCommunicationLinkInner>,ServerCommunicationLinkInner>beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)Creates a server communication link.ServerCommunicationLinkInnercreateOrUpdate(String resourceGroupName, String serverName, String communicationLinkName)Creates a server communication link.ServerCommunicationLinkInnercreateOrUpdate(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)Creates a server communication link.ServerCommunicationLinkInnercreateOrUpdate(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer, com.azure.core.util.Context context)Creates a server communication link.Mono<ServerCommunicationLinkInner>createOrUpdateAsync(String resourceGroupName, String serverName, String communicationLinkName)Creates a server communication link.Mono<ServerCommunicationLinkInner>createOrUpdateAsync(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)Creates a server communication link.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)Creates a server communication link.voiddelete(String resourceGroupName, String serverName, String communicationLinkName)Deletes a server communication link.Mono<Void>deleteAsync(String resourceGroupName, String serverName, String communicationLinkName)Deletes a server communication link.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String serverName, String communicationLinkName, com.azure.core.util.Context context)Deletes a server communication link.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String serverName, String communicationLinkName)Deletes a server communication link.ServerCommunicationLinkInnerget(String resourceGroupName, String serverName, String communicationLinkName)Returns a server communication link.Mono<ServerCommunicationLinkInner>getAsync(String resourceGroupName, String serverName, String communicationLinkName)Returns a server communication link.com.azure.core.http.rest.Response<ServerCommunicationLinkInner>getWithResponse(String resourceGroupName, String serverName, String communicationLinkName, com.azure.core.util.Context context)Returns a server communication link.Mono<com.azure.core.http.rest.Response<ServerCommunicationLinkInner>>getWithResponseAsync(String resourceGroupName, String serverName, String communicationLinkName)Returns a server communication link.com.azure.core.http.rest.PagedIterable<ServerCommunicationLinkInner>listByServer(String resourceGroupName, String serverName)Gets a list of server communication links.com.azure.core.http.rest.PagedIterable<ServerCommunicationLinkInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)Gets a list of server communication links.com.azure.core.http.rest.PagedFlux<ServerCommunicationLinkInner>listByServerAsync(String resourceGroupName, String serverName)Gets a list of server communication links.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, String communicationLinkName)
Deletes a server communication link.- 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.communicationLinkName- The name of the server communication link.- Returns:
- the completion.
- 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String serverName, String communicationLinkName)
Deletes a server communication link.- 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.communicationLinkName- The name of the server communication link.- Returns:
- the completion.
- 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.
-
delete
void delete(String resourceGroupName, String serverName, String communicationLinkName)
Deletes a server communication link.- 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.communicationLinkName- The name of the server communication link.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String serverName, String communicationLinkName, com.azure.core.util.Context context)
Deletes a server communication link.- 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.communicationLinkName- The name of the server communication link.context- The context to associate with this operation.- Returns:
- the response.
- 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<ServerCommunicationLinkInner>> getWithResponseAsync(String resourceGroupName, String serverName, String communicationLinkName)
Returns a server communication link.- 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.communicationLinkName- The name of the server communication link.- Returns:
- server communication link.
- 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<ServerCommunicationLinkInner> getAsync(String resourceGroupName, String serverName, String communicationLinkName)
Returns a server communication link.- 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.communicationLinkName- The name of the server communication link.- Returns:
- server communication link.
- 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
ServerCommunicationLinkInner get(String resourceGroupName, String serverName, String communicationLinkName)
Returns a server communication link.- 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.communicationLinkName- The name of the server communication link.- Returns:
- server communication link.
- 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<ServerCommunicationLinkInner> getWithResponse(String resourceGroupName, String serverName, String communicationLinkName, com.azure.core.util.Context context)
Returns a server communication link.- 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.communicationLinkName- The name of the server communication link.context- The context to associate with this operation.- Returns:
- server communication link.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.partnerServer- The name of the partner server.- Returns:
- server communication link.
- 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerCommunicationLinkInner>,ServerCommunicationLinkInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.partnerServer- The name of the partner server.- Returns:
- server communication link.
- 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerCommunicationLinkInner>,ServerCommunicationLinkInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.partnerServer- The name of the partner server.- Returns:
- server communication link.
- 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerCommunicationLinkInner>,ServerCommunicationLinkInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer, com.azure.core.util.Context context)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.partnerServer- The name of the partner server.context- The context to associate with this operation.- Returns:
- server communication link.
- 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<ServerCommunicationLinkInner> createOrUpdateAsync(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.partnerServer- The name of the partner server.- Returns:
- server communication link.
- 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<ServerCommunicationLinkInner> createOrUpdateAsync(String resourceGroupName, String serverName, String communicationLinkName)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.- Returns:
- server communication link.
- 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
ServerCommunicationLinkInner createOrUpdate(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.partnerServer- The name of the partner server.- Returns:
- server communication link.
- 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
ServerCommunicationLinkInner createOrUpdate(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer, com.azure.core.util.Context context)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.partnerServer- The name of the partner server.context- The context to associate with this operation.- Returns:
- server communication link.
- 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
ServerCommunicationLinkInner createOrUpdate(String resourceGroupName, String serverName, String communicationLinkName)
Creates a server communication link.- 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.communicationLinkName- The name of the server communication link.- Returns:
- server communication link.
- 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.
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<ServerCommunicationLinkInner> listByServerAsync(String resourceGroupName, String serverName)
Gets a list of server communication links.- 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.- Returns:
- a list of server communication links.
- 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerCommunicationLinkInner> listByServer(String resourceGroupName, String serverName)
Gets a list of server communication links.- 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.- Returns:
- a list of server communication links.
- 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerCommunicationLinkInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Gets a list of server communication links.- 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.context- The context to associate with this operation.- Returns:
- a list of server communication links.
- 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.
-
-