Interface ScopeConnectionsClient


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

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ScopeConnectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters)
      Creates or updates scope connection from Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant connection.
      parameters - Scope connection to be created/updated.
      Returns:
      the Scope Connections 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<ScopeConnectionInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters)
      Creates or updates scope connection from Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant connection.
      parameters - Scope connection to be created/updated.
      Returns:
      the Scope Connections 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<ScopeConnectionInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters, com.azure.core.util.Context context)
      Creates or updates scope connection from Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant connection.
      parameters - Scope connection to be created/updated.
      context - The context to associate with this operation.
      Returns:
      the Scope Connections 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

      ScopeConnectionInner createOrUpdate(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters)
      Creates or updates scope connection from Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant connection.
      parameters - Scope connection to be created/updated.
      Returns:
      the Scope Connections 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<ScopeConnectionInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName)
      Get specified scope connection created by this Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant connection.
      Returns:
      specified scope connection created by this Network Manager 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<ScopeConnectionInner> getAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName)
      Get specified scope connection created by this Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant connection.
      Returns:
      specified scope connection created by this Network Manager 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<ScopeConnectionInner> getWithResponse(String resourceGroupName, String networkManagerName, String scopeConnectionName, com.azure.core.util.Context context)
      Get specified scope connection created by this Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant connection.
      context - The context to associate with this operation.
      Returns:
      specified scope connection created by this Network Manager 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

      ScopeConnectionInner get(String resourceGroupName, String networkManagerName, String scopeConnectionName)
      Get specified scope connection created by this Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant connection.
      Returns:
      specified scope connection created by this Network Manager.
      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 resourceGroupName, String networkManagerName, String scopeConnectionName)
      Delete the pending scope connection created by this network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant 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 resourceGroupName, String networkManagerName, String scopeConnectionName)
      Delete the pending scope connection created by this network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant 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 resourceGroupName, String networkManagerName, String scopeConnectionName, com.azure.core.util.Context context)
      Delete the pending scope connection created by this network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant 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 resourceGroupName, String networkManagerName, String scopeConnectionName)
      Delete the pending scope connection created by this network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      scopeConnectionName - Name for the cross-tenant 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<ScopeConnectionInner> listAsync(String resourceGroupName, String networkManagerName, Integer top, String skipToken)
      List all scope connections created by this network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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 scope 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<ScopeConnectionInner> listAsync(String resourceGroupName, String networkManagerName)
      List all scope connections created by this network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      list of scope 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<ScopeConnectionInner> list(String resourceGroupName, String networkManagerName)
      List all scope connections created by this network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      list of scope 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<ScopeConnectionInner> list(String resourceGroupName, String networkManagerName, Integer top, String skipToken, com.azure.core.util.Context context)
      List all scope connections created by this network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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 scope 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.