Interface AttachedNetworks
public interface AttachedNetworks
Resource collection API of AttachedNetworks.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AttachedNetworkConnection resource.void
Un-attach a NetworkConnection.void
delete
(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName, com.azure.core.util.Context context) Un-attach a NetworkConnection.void
deleteById
(String id) Un-attach a NetworkConnection.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Un-attach a NetworkConnection.getByDevCenter
(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName) Gets an attached NetworkConnection.com.azure.core.http.rest.Response<AttachedNetworkConnection>
getByDevCenterWithResponse
(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName, com.azure.core.util.Context context) Gets an attached NetworkConnection.Gets an attached NetworkConnection.com.azure.core.http.rest.Response<AttachedNetworkConnection>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets an attached NetworkConnection.getByProject
(String resourceGroupName, String projectName, String attachedNetworkConnectionName) Gets an attached NetworkConnection.com.azure.core.http.rest.Response<AttachedNetworkConnection>
getByProjectWithResponse
(String resourceGroupName, String projectName, String attachedNetworkConnectionName, com.azure.core.util.Context context) Gets an attached NetworkConnection.com.azure.core.http.rest.PagedIterable<AttachedNetworkConnection>
listByDevCenter
(String resourceGroupName, String devCenterName) Lists the attached NetworkConnections for a DevCenter.com.azure.core.http.rest.PagedIterable<AttachedNetworkConnection>
listByDevCenter
(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context) Lists the attached NetworkConnections for a DevCenter.com.azure.core.http.rest.PagedIterable<AttachedNetworkConnection>
listByProject
(String resourceGroupName, String projectName) Lists the attached NetworkConnections for a Project.com.azure.core.http.rest.PagedIterable<AttachedNetworkConnection>
listByProject
(String resourceGroupName, String projectName, Integer top, com.azure.core.util.Context context) Lists the attached NetworkConnections for a Project.
-
Method Details
-
listByProject
com.azure.core.http.rest.PagedIterable<AttachedNetworkConnection> listByProject(String resourceGroupName, String projectName) Lists the attached NetworkConnections for a Project.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.projectName
- The name of the project.- Returns:
- results of the Attached Networks list operation 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.
-
listByProject
com.azure.core.http.rest.PagedIterable<AttachedNetworkConnection> listByProject(String resourceGroupName, String projectName, Integer top, com.azure.core.util.Context context) Lists the attached NetworkConnections for a Project.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.projectName
- The name of the project.top
- The maximum number of resources to return from the operation. Example: '$top=10'.context
- The context to associate with this operation.- Returns:
- results of the Attached Networks list operation 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.
-
getByProjectWithResponse
com.azure.core.http.rest.Response<AttachedNetworkConnection> getByProjectWithResponse(String resourceGroupName, String projectName, String attachedNetworkConnectionName, com.azure.core.util.Context context) Gets an attached NetworkConnection.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.projectName
- The name of the project.attachedNetworkConnectionName
- The name of the attached NetworkConnection.context
- The context to associate with this operation.- Returns:
- an attached NetworkConnection 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.
-
getByProject
AttachedNetworkConnection getByProject(String resourceGroupName, String projectName, String attachedNetworkConnectionName) Gets an attached NetworkConnection.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.projectName
- The name of the project.attachedNetworkConnectionName
- The name of the attached NetworkConnection.- Returns:
- an attached NetworkConnection.
- 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.
-
listByDevCenter
com.azure.core.http.rest.PagedIterable<AttachedNetworkConnection> listByDevCenter(String resourceGroupName, String devCenterName) Lists the attached NetworkConnections for a DevCenter.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.- Returns:
- results of the Attached Networks list operation 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.
-
listByDevCenter
com.azure.core.http.rest.PagedIterable<AttachedNetworkConnection> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context) Lists the attached NetworkConnections for a DevCenter.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.top
- The maximum number of resources to return from the operation. Example: '$top=10'.context
- The context to associate with this operation.- Returns:
- results of the Attached Networks list operation 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.
-
getByDevCenterWithResponse
com.azure.core.http.rest.Response<AttachedNetworkConnection> getByDevCenterWithResponse(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName, com.azure.core.util.Context context) Gets an attached NetworkConnection.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.attachedNetworkConnectionName
- The name of the attached NetworkConnection.context
- The context to associate with this operation.- Returns:
- an attached NetworkConnection 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.
-
getByDevCenter
AttachedNetworkConnection getByDevCenter(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName) Gets an attached NetworkConnection.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.attachedNetworkConnectionName
- The name of the attached NetworkConnection.- Returns:
- an attached NetworkConnection.
- 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
Un-attach a NetworkConnection.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.attachedNetworkConnectionName
- The name of the attached NetworkConnection.- 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 devCenterName, String attachedNetworkConnectionName, com.azure.core.util.Context context) Un-attach a NetworkConnection.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.attachedNetworkConnectionName
- The name of the attached NetworkConnection.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.
-
getById
Gets an attached NetworkConnection.- Parameters:
id
- the resource ID.- Returns:
- an attached NetworkConnection 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<AttachedNetworkConnection> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets an attached NetworkConnection.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- an attached NetworkConnection 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.
-
deleteById
Un-attach a NetworkConnection.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Un-attach a NetworkConnection.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new AttachedNetworkConnection resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new AttachedNetworkConnection definition.
-