Interface GlobalReachConnectionsClient


  • public interface GlobalReachConnectionsClient
    An instance of this class provides access to all the operations defined in GlobalReachConnectionsClient.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<GlobalReachConnectionInner> list​(String resourceGroupName,
                                                                                String privateCloudName)
        List global reach connections in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        Returns:
        a paged list of global reach connections.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<GlobalReachConnectionInner> list​(String resourceGroupName,
                                                                                String privateCloudName,
                                                                                com.azure.core.util.Context context)
        List global reach connections in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        context - The context to associate with this operation.
        Returns:
        a paged list of global reach connections.
        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

        GlobalReachConnectionInner get​(String resourceGroupName,
                                       String privateCloudName,
                                       String globalReachConnectionName)
        Get a global reach connection by name in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        Returns:
        a global reach connection by name in a private cloud.
        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<GlobalReachConnectionInner> getWithResponse​(String resourceGroupName,
                                                                                      String privateCloudName,
                                                                                      String globalReachConnectionName,
                                                                                      com.azure.core.util.Context context)
        Get a global reach connection by name in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        context - The context to associate with this operation.
        Returns:
        a global reach connection by name in a private cloud.
        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<GlobalReachConnectionInner>,​GlobalReachConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                              String privateCloudName,
                                                                                                                                                                              String globalReachConnectionName,
                                                                                                                                                                              GlobalReachConnectionInner globalReachConnection)
        Create or update a global reach connection in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        globalReachConnection - A global reach connection in the private cloud.
        Returns:
        a global reach connection resource.
        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<GlobalReachConnectionInner>,​GlobalReachConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                              String privateCloudName,
                                                                                                                                                                              String globalReachConnectionName,
                                                                                                                                                                              GlobalReachConnectionInner globalReachConnection,
                                                                                                                                                                              com.azure.core.util.Context context)
        Create or update a global reach connection in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        globalReachConnection - A global reach connection in the private cloud.
        context - The context to associate with this operation.
        Returns:
        a global reach connection resource.
        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

        GlobalReachConnectionInner createOrUpdate​(String resourceGroupName,
                                                  String privateCloudName,
                                                  String globalReachConnectionName,
                                                  GlobalReachConnectionInner globalReachConnection)
        Create or update a global reach connection in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        globalReachConnection - A global reach connection in the private cloud.
        Returns:
        a global reach connection resource.
        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

        GlobalReachConnectionInner createOrUpdate​(String resourceGroupName,
                                                  String privateCloudName,
                                                  String globalReachConnectionName,
                                                  GlobalReachConnectionInner globalReachConnection,
                                                  com.azure.core.util.Context context)
        Create or update a global reach connection in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        globalReachConnection - A global reach connection in the private cloud.
        context - The context to associate with this operation.
        Returns:
        a global reach connection resource.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String privateCloudName,
                                                                                                                          String globalReachConnectionName)
        Delete a global reach connection in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String privateCloudName,
                                                                                                                          String globalReachConnectionName,
                                                                                                                          com.azure.core.util.Context context)
        Delete a global reach connection in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        context - The context to associate with this operation.
        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 privateCloudName,
                    String globalReachConnectionName)
        Delete a global reach connection in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        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 privateCloudName,
                    String globalReachConnectionName,
                    com.azure.core.util.Context context)
        Delete a global reach connection in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        globalReachConnectionName - Name of the global reach connection in the private cloud.
        context - The context to associate with this operation.
        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.