Interface RelationshipLinksClient


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

    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RelationshipLinkResourceFormatInner>,RelationshipLinkResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String relationshipLinkName, RelationshipLinkResourceFormatInner parameters)
      Creates a relationship link or updates an existing relationship link within a hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship link.
      parameters - Parameters supplied to the CreateOrUpdate relationship link operation.
      Returns:
      the SyncPoller for polling of the relationship link resource format.
      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<RelationshipLinkResourceFormatInner>,RelationshipLinkResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String relationshipLinkName, RelationshipLinkResourceFormatInner parameters, com.azure.core.util.Context context)
      Creates a relationship link or updates an existing relationship link within a hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship link.
      parameters - Parameters supplied to the CreateOrUpdate relationship link operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the relationship link resource format.
      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

      RelationshipLinkResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String relationshipLinkName, RelationshipLinkResourceFormatInner parameters)
      Creates a relationship link or updates an existing relationship link within a hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship link.
      parameters - Parameters supplied to the CreateOrUpdate relationship link operation.
      Returns:
      the relationship link resource format.
      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

      RelationshipLinkResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String relationshipLinkName, RelationshipLinkResourceFormatInner parameters, com.azure.core.util.Context context)
      Creates a relationship link or updates an existing relationship link within a hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship link.
      parameters - Parameters supplied to the CreateOrUpdate relationship link operation.
      context - The context to associate with this operation.
      Returns:
      the relationship link resource format.
      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<RelationshipLinkResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String relationshipLinkName, com.azure.core.util.Context context)
      Gets information about the specified relationship Link.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship link.
      context - The context to associate with this operation.
      Returns:
      information about the specified relationship Link 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

      RelationshipLinkResourceFormatInner get(String resourceGroupName, String hubName, String relationshipLinkName)
      Gets information about the specified relationship Link.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship link.
      Returns:
      information about the specified relationship 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String hubName, String relationshipLinkName)
      Deletes a relationship link within a hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String hubName, String relationshipLinkName, com.azure.core.util.Context context)
      Deletes a relationship link within a hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • delete

      void delete(String resourceGroupName, String hubName, String relationshipLinkName)
      Deletes a relationship link within a hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship.
      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 hubName, String relationshipLinkName, com.azure.core.util.Context context)
      Deletes a relationship link within a hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      relationshipLinkName - The name of the relationship.
      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.
    • listByHub

      com.azure.core.http.rest.PagedIterable<RelationshipLinkResourceFormatInner> listByHub(String resourceGroupName, String hubName)
      Gets all relationship links in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      Returns:
      all relationship links in the hub 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.
    • listByHub

      com.azure.core.http.rest.PagedIterable<RelationshipLinkResourceFormatInner> listByHub(String resourceGroupName, String hubName, com.azure.core.util.Context context)
      Gets all relationship links in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      context - The context to associate with this operation.
      Returns:
      all relationship links in the hub 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.