Interface ManagementGroupNetworkManagerConnectionsClient

All Superinterfaces:
InnerSupportsDelete<Void>

public interface ManagementGroupNetworkManagerConnectionsClient extends InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ManagementGroupNetworkManagerConnectionsClient.
  • Method Details

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkManagerConnectionInner>> createOrUpdateWithResponseAsync(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters)
      Create a network manager connection on this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      parameters - Network manager connection to be created/updated.
      Returns:
      the Network Manager Connection resource along with Response on successful completion of Mono.
      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<NetworkManagerConnectionInner> createOrUpdateAsync(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters)
      Create a network manager connection on this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      parameters - Network manager connection to be created/updated.
      Returns:
      the Network Manager Connection resource on successful completion of Mono.
      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<NetworkManagerConnectionInner> createOrUpdateWithResponse(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters, com.azure.core.util.Context context)
      Create a network manager connection on this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      parameters - Network manager connection to be created/updated.
      context - The context to associate with this operation.
      Returns:
      the Network Manager Connection resource along with 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.
    • createOrUpdate

      NetworkManagerConnectionInner createOrUpdate(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters)
      Create a network manager connection on this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      parameters - Network manager connection to be created/updated.
      Returns:
      the Network Manager 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkManagerConnectionInner>> getWithResponseAsync(String managementGroupId, String networkManagerConnectionName)
      Get a specified connection created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      Returns:
      a specified connection created by this management group along with Response on successful completion of Mono.
      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<NetworkManagerConnectionInner> getAsync(String managementGroupId, String networkManagerConnectionName)
      Get a specified connection created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      Returns:
      a specified connection created by this management group on successful completion of Mono.
      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<NetworkManagerConnectionInner> getWithResponse(String managementGroupId, String networkManagerConnectionName, com.azure.core.util.Context context)
      Get a specified connection created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      context - The context to associate with this operation.
      Returns:
      a specified connection created by this management group along with 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.
    • get

      NetworkManagerConnectionInner get(String managementGroupId, String networkManagerConnectionName)
      Get a specified connection created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      Returns:
      a specified connection created by this management group.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String managementGroupId, String networkManagerConnectionName)
      Delete specified pending connection created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      Returns:
      the Response on successful completion of Mono.
      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 managementGroupId, String networkManagerConnectionName)
      Delete specified pending connection created by this management group.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      Returns:
      A Mono that completes when a successful response is received.
      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 managementGroupId, String networkManagerConnectionName, com.azure.core.util.Context context)
      Delete specified pending connection created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      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.
    • delete

      void delete(String managementGroupId, String networkManagerConnectionName)
      Delete specified pending connection created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      networkManagerConnectionName - Name for the network manager connection.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<NetworkManagerConnectionInner> listAsync(String managementGroupId, Integer top, String skipToken)
      List all network manager connections created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      top - An optional query parameter which specifies the maximum number of records to be returned by the server.
      skipToken - SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
      Returns:
      list of network manager connections as paginated response with PagedFlux.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<NetworkManagerConnectionInner> listAsync(String managementGroupId)
      List all network manager connections created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      Returns:
      list of network manager connections as paginated response with PagedFlux.
      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<NetworkManagerConnectionInner> list(String managementGroupId)
      List all network manager connections created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      Returns:
      list of network manager connections as paginated response with PagedIterable.
      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<NetworkManagerConnectionInner> list(String managementGroupId, Integer top, String skipToken, com.azure.core.util.Context context)
      List all network manager connections created by this management group.
      Parameters:
      managementGroupId - The management group Id which uniquely identify the Microsoft Azure management group.
      top - An optional query parameter which specifies the maximum number of records to be returned by the server.
      skipToken - SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
      context - The context to associate with this operation.
      Returns:
      list of network manager connections as paginated response with PagedIterable.
      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.