AllowedConnections Interface

public interface AllowedConnections

Resource collection API of AllowedConnections.

Method Summary

Modifier and Type Method and Description
abstract AllowedConnectionsResource 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<AllowedConnectionsResource> 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<AllowedConnectionsResource> list()

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

abstract PagedIterable<AllowedConnectionsResource> list(Context context)

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

abstract PagedIterable<AllowedConnectionsResource> listByHomeRegion(String ascLocation)

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

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

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

Method Details

get

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