Interface ExpressRouteLinksClient
-
public interface ExpressRouteLinksClientAn instance of this class provides access to all the operations defined in ExpressRouteLinksClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressRouteLinkInnerget(String resourceGroupName, String expressRoutePortName, String linkName)Retrieves the specified ExpressRouteLink resource.Mono<ExpressRouteLinkInner>getAsync(String resourceGroupName, String expressRoutePortName, String linkName)Retrieves the specified ExpressRouteLink resource.com.azure.core.http.rest.Response<ExpressRouteLinkInner>getWithResponse(String resourceGroupName, String expressRoutePortName, String linkName, com.azure.core.util.Context context)Retrieves the specified ExpressRouteLink resource.Mono<com.azure.core.http.rest.Response<ExpressRouteLinkInner>>getWithResponseAsync(String resourceGroupName, String expressRoutePortName, String linkName)Retrieves the specified ExpressRouteLink resource.com.azure.core.http.rest.PagedIterable<ExpressRouteLinkInner>list(String resourceGroupName, String expressRoutePortName)Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.com.azure.core.http.rest.PagedIterable<ExpressRouteLinkInner>list(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.com.azure.core.http.rest.PagedFlux<ExpressRouteLinkInner>listAsync(String resourceGroupName, String expressRoutePortName)Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRouteLinkInner>> getWithResponseAsync(String resourceGroupName, String expressRoutePortName, String linkName)
Retrieves the specified ExpressRouteLink resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.linkName- The name of the ExpressRouteLink resource.- Returns:
- expressRouteLink along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<ExpressRouteLinkInner> getAsync(String resourceGroupName, String expressRoutePortName, String linkName)
Retrieves the specified ExpressRouteLink resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.linkName- The name of the ExpressRouteLink resource.- Returns:
- expressRouteLink on successful completion of
Mono. - 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
ExpressRouteLinkInner get(String resourceGroupName, String expressRoutePortName, String linkName)
Retrieves the specified ExpressRouteLink resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.linkName- The name of the ExpressRouteLink resource.- Returns:
- expressRouteLink.
- 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<ExpressRouteLinkInner> getWithResponse(String resourceGroupName, String expressRoutePortName, String linkName, com.azure.core.util.Context context)
Retrieves the specified ExpressRouteLink resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.linkName- The name of the ExpressRouteLink resource.context- The context to associate with this operation.- Returns:
- expressRouteLink 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ExpressRouteLinkInner> listAsync(String resourceGroupName, String expressRoutePortName)
Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.- Returns:
- expressRouteLink List Result as paginated response with
PagedFlux. - 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.
-
list
com.azure.core.http.rest.PagedIterable<ExpressRouteLinkInner> list(String resourceGroupName, String expressRoutePortName)
Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.- Returns:
- expressRouteLink List Result 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.
-
list
com.azure.core.http.rest.PagedIterable<ExpressRouteLinkInner> list(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)
Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.context- The context to associate with this operation.- Returns:
- expressRouteLink List Result 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.
-
-