AllowedConnectionsClient Interface

public interface AllowedConnectionsClient

An instance of this class provides access to all the operations defined in AllowedConnectionsClient.

Method Summary

Modifier and Type Method and Description
abstract AllowedConnectionsResourceInner get(String resourceGroupName, String ascLocation, ConnectionType connectionType)

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

abstract Response<AllowedConnectionsResourceInner> getWithResponse(String resourceGroupName, String ascLocation, ConnectionType connectionType, Context context)

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

abstract PagedIterable<AllowedConnectionsResourceInner> list()

Gets the list of all possible traffic between resources for the subscription.

abstract PagedIterable<AllowedConnectionsResourceInner> list(Context context)

Gets the list of all possible traffic between resources for the subscription.

abstract PagedIterable<AllowedConnectionsResourceInner> listByHomeRegion(String ascLocation)

Gets the list of all possible traffic between resources for the subscription and location.

abstract PagedIterable<AllowedConnectionsResourceInner> listByHomeRegion(String ascLocation, Context context)

Gets the list of all possible traffic between resources for the subscription and location.

Method Details

get

public abstract AllowedConnectionsResourceInner get(String resourceGroupName, String ascLocation, ConnectionType connectionType)

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
connectionType - The type of allowed connections (Internal, External).

Returns:

the list of all possible traffic between resources for the subscription and location, based on connection type.

getWithResponse

public abstract Response<AllowedConnectionsResourceInner> getWithResponse(String resourceGroupName, String ascLocation, ConnectionType connectionType, Context context)

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
connectionType - The type of allowed connections (Internal, External).
context - The context to associate with this operation.

Returns:

the list of all possible traffic between resources for the subscription and location, based on connection type along with Response<T>.

list

public abstract PagedIterable<AllowedConnectionsResourceInner> list()

Gets the list of all possible traffic between resources for the subscription.

Returns:

the list of all possible traffic between resources for the subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<AllowedConnectionsResourceInner> list(Context context)

Gets the list of all possible traffic between resources for the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the list of all possible traffic between resources for the subscription as paginated response with PagedIterable<T>.

listByHomeRegion

public abstract PagedIterable<AllowedConnectionsResourceInner> listByHomeRegion(String ascLocation)

Gets the list of all possible traffic between resources for the subscription and location.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.

Returns:

the list of all possible traffic between resources for the subscription and location as paginated response with PagedIterable<T>.

listByHomeRegion

public abstract PagedIterable<AllowedConnectionsResourceInner> listByHomeRegion(String ascLocation, Context context)

Gets the list of all possible traffic between resources for the subscription and location.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
context - The context to associate with this operation.

Returns:

the list of all possible traffic between resources for the subscription and location as paginated response with PagedIterable<T>.

Applies to