RelationshipLinks Interface

public interface RelationshipLinks

Resource collection API of RelationshipLinks.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new RelationshipLinkResourceFormat resource.

abstract void delete(String resourceGroupName, String hubName, String relationshipLinkName)

Deletes a relationship link within a hub.

abstract void delete(String resourceGroupName, String hubName, String relationshipLinkName, Context context)

Deletes a relationship link within a hub.

abstract void deleteById(String id)

Deletes a relationship link within a hub.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a relationship link within a hub.

abstract RelationshipLinkResourceFormat get(String resourceGroupName, String hubName, String relationshipLinkName)

Gets information about the specified relationship Link.

abstract RelationshipLinkResourceFormat getById(String id)

Gets information about the specified relationship Link.

abstract Response<RelationshipLinkResourceFormat> getByIdWithResponse(String id, Context context)

Gets information about the specified relationship Link.

abstract Response<RelationshipLinkResourceFormat> getWithResponse(String resourceGroupName, String hubName, String relationshipLinkName, Context context)

Gets information about the specified relationship Link.

abstract PagedIterable<RelationshipLinkResourceFormat> listByHub(String resourceGroupName, String hubName)

Gets all relationship links in the hub.

abstract PagedIterable<RelationshipLinkResourceFormat> listByHub(String resourceGroupName, String hubName, Context context)

Gets all relationship links in the hub.

Method Details

public abstract RelationshipLinkResourceFormat.DefinitionStages.Blank define(String name)

Begins definition for a new RelationshipLinkResourceFormat resource.

Parameters:

name - resource name.

Returns:

the first stage of the new RelationshipLinkResourceFormat definition.

public abstract 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.

public abstract void delete(String resourceGroupName, String hubName, String relationshipLinkName, 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.

public abstract void deleteById(String id)

Deletes a relationship link within a hub.

Parameters:

id - the resource ID.

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a relationship link within a hub.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

public abstract RelationshipLinkResourceFormat 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.

public abstract RelationshipLinkResourceFormat getById(String id)

Gets information about the specified relationship Link.

Parameters:

id - the resource ID.

Returns:

information about the specified relationship Link along with Response<T>.

public abstract Response getByIdWithResponse(String id, Context context)

Gets information about the specified relationship Link.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

information about the specified relationship Link along with Response<T>.

public abstract Response getWithResponse(String resourceGroupName, String hubName, String relationshipLinkName, 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<T>.

public abstract PagedIterable 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<T>.

public abstract PagedIterable listByHub(String resourceGroupName, String hubName, 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<T>.

Applies to