Interface ExpressRoutePortsClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ExpressRoutePortInner>,InnerSupportsListing<ExpressRoutePortInner>
public interface ExpressRoutePortsClient extends InnerSupportsGet<ExpressRoutePortInner>, InnerSupportsListing<ExpressRoutePortInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ExpressRoutePortsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRoutePortInner>,ExpressRoutePortInner>beginCreateOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)Creates or updates the specified ExpressRoutePort resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRoutePortInner>,ExpressRoutePortInner>beginCreateOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters, com.azure.core.util.Context context)Creates or updates the specified ExpressRoutePort resource.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRoutePortInner>,ExpressRoutePortInner>beginCreateOrUpdateAsync(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)Creates or updates the specified ExpressRoutePort resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String expressRoutePortName)Deletes the specified ExpressRoutePort resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)Deletes the specified ExpressRoutePort resource.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String expressRoutePortName)Deletes the specified ExpressRoutePort resource.ExpressRoutePortInnercreateOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)Creates or updates the specified ExpressRoutePort resource.ExpressRoutePortInnercreateOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters, com.azure.core.util.Context context)Creates or updates the specified ExpressRoutePort resource.Mono<ExpressRoutePortInner>createOrUpdateAsync(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)Creates or updates the specified ExpressRoutePort resource.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)Creates or updates the specified ExpressRoutePort resource.voiddelete(String resourceGroupName, String expressRoutePortName)Deletes the specified ExpressRoutePort resource.voiddelete(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)Deletes the specified ExpressRoutePort resource.Mono<Void>deleteAsync(String resourceGroupName, String expressRoutePortName)Deletes the specified ExpressRoutePort resource.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String expressRoutePortName)Deletes the specified ExpressRoutePort resource.GenerateExpressRoutePortsLoaResultInnergenerateLoa(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)Generate a letter of authorization for the requested ExpressRoutePort resource.Mono<GenerateExpressRoutePortsLoaResultInner>generateLoaAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)Generate a letter of authorization for the requested ExpressRoutePort resource.com.azure.core.http.rest.Response<GenerateExpressRoutePortsLoaResultInner>generateLoaWithResponse(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, com.azure.core.util.Context context)Generate a letter of authorization for the requested ExpressRoutePort resource.Mono<com.azure.core.http.rest.Response<GenerateExpressRoutePortsLoaResultInner>>generateLoaWithResponseAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)Generate a letter of authorization for the requested ExpressRoutePort resource.ExpressRoutePortInnergetByResourceGroup(String resourceGroupName, String expressRoutePortName)Retrieves the requested ExpressRoutePort resource.Mono<ExpressRoutePortInner>getByResourceGroupAsync(String resourceGroupName, String expressRoutePortName)Retrieves the requested ExpressRoutePort resource.com.azure.core.http.rest.Response<ExpressRoutePortInner>getByResourceGroupWithResponse(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)Retrieves the requested ExpressRoutePort resource.Mono<com.azure.core.http.rest.Response<ExpressRoutePortInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String expressRoutePortName)Retrieves the requested ExpressRoutePort resource.com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner>list()List all the ExpressRoutePort resources in the specified subscription.com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner>list(com.azure.core.util.Context context)List all the ExpressRoutePort resources in the specified subscription.com.azure.core.http.rest.PagedFlux<ExpressRoutePortInner>listAsync()List all the ExpressRoutePort resources in the specified subscription.com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner>listByResourceGroup(String resourceGroupName)List all the ExpressRoutePort resources in the specified resource group.com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)List all the ExpressRoutePort resources in the specified resource group.com.azure.core.http.rest.PagedFlux<ExpressRoutePortInner>listByResourceGroupAsync(String resourceGroupName)List all the ExpressRoutePort resources in the specified resource group.ExpressRoutePortInnerupdateTags(String resourceGroupName, String expressRoutePortName, TagsObject parameters)Update ExpressRoutePort tags.Mono<ExpressRoutePortInner>updateTagsAsync(String resourceGroupName, String expressRoutePortName, TagsObject parameters)Update ExpressRoutePort tags.com.azure.core.http.rest.Response<ExpressRoutePortInner>updateTagsWithResponse(String resourceGroupName, String expressRoutePortName, TagsObject parameters, com.azure.core.util.Context context)Update ExpressRoutePort tags.Mono<com.azure.core.http.rest.Response<ExpressRoutePortInner>>updateTagsWithResponseAsync(String resourceGroupName, String expressRoutePortName, TagsObject parameters)Update ExpressRoutePort tags.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String expressRoutePortName)
Deletes the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.- Returns:
- the
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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName)
Deletes the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.- Returns:
- the
PollerFluxfor polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String expressRoutePortName)
Deletes the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)
Deletes 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:
- the
SyncPollerfor polling of long-running 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String expressRoutePortName)
Deletes the specified ExpressRoutePort resource.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.- Returns:
- A
Monothat completes when a successful response is received. - 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 expressRoutePortName)
Deletes the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.- 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 expressRoutePortName, com.azure.core.util.Context context)
Deletes 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.- 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRoutePortInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String expressRoutePortName)
Retrieves the requested ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of ExpressRoutePort.- Returns:
- expressRoute Port 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.
-
getByResourceGroupAsync
Mono<ExpressRoutePortInner> getByResourceGroupAsync(String resourceGroupName, String expressRoutePortName)
Retrieves the requested ExpressRoutePort resource.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ExpressRoutePortInner>- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of ExpressRoutePort.- Returns:
- expressRoute Port 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.
-
getByResourceGroup
ExpressRoutePortInner getByResourceGroup(String resourceGroupName, String expressRoutePortName)
Retrieves the requested ExpressRoutePort resource.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ExpressRoutePortInner>- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of ExpressRoutePort.- Returns:
- expressRoute Port.
- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ExpressRoutePortInner> getByResourceGroupWithResponse(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)
Retrieves the requested ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of ExpressRoutePort.context- The context to associate with this operation.- Returns:
- expressRoute Port 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
Creates or updates the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to the create ExpressRoutePort operation.- Returns:
- expressRoute Port 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRoutePortInner>,ExpressRoutePortInner> beginCreateOrUpdateAsync(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
Creates or updates the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to the create ExpressRoutePort operation.- Returns:
- the
PollerFluxfor polling of expressRoute Port. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRoutePortInner>,ExpressRoutePortInner> beginCreateOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
Creates or updates the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to the create ExpressRoutePort operation.- Returns:
- the
SyncPollerfor polling of expressRoute Port. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRoutePortInner>,ExpressRoutePortInner> beginCreateOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters, com.azure.core.util.Context context)
Creates or updates the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to the create ExpressRoutePort operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of expressRoute Port. - 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.
-
createOrUpdateAsync
Mono<ExpressRoutePortInner> createOrUpdateAsync(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
Creates or updates the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to the create ExpressRoutePort operation.- Returns:
- expressRoute Port 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.
-
createOrUpdate
ExpressRoutePortInner createOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
Creates or updates the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to the create ExpressRoutePort operation.- Returns:
- expressRoute Port.
- 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.
-
createOrUpdate
ExpressRoutePortInner createOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters, com.azure.core.util.Context context)
Creates or updates the specified ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to the create ExpressRoutePort operation.context- The context to associate with this operation.- Returns:
- expressRoute Port.
- 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRoutePortInner>> updateTagsWithResponseAsync(String resourceGroupName, String expressRoutePortName, TagsObject parameters)
Update ExpressRoutePort tags.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to update ExpressRoutePort resource tags.- Returns:
- expressRoute Port 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.
-
updateTagsAsync
Mono<ExpressRoutePortInner> updateTagsAsync(String resourceGroupName, String expressRoutePortName, TagsObject parameters)
Update ExpressRoutePort tags.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to update ExpressRoutePort resource tags.- Returns:
- expressRoute Port 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.
-
updateTags
ExpressRoutePortInner updateTags(String resourceGroupName, String expressRoutePortName, TagsObject parameters)
Update ExpressRoutePort tags.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to update ExpressRoutePort resource tags.- Returns:
- expressRoute Port.
- 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<ExpressRoutePortInner> updateTagsWithResponse(String resourceGroupName, String expressRoutePortName, TagsObject parameters, com.azure.core.util.Context context)
Update ExpressRoutePort tags.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of the ExpressRoutePort resource.parameters- Parameters supplied to update ExpressRoutePort resource tags.context- The context to associate with this operation.- Returns:
- expressRoute Port 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ExpressRoutePortInner> listByResourceGroupAsync(String resourceGroupName)
List all the ExpressRoutePort resources in the specified resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ExpressRoutePortInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- expressRoute Port 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner> listByResourceGroup(String resourceGroupName)
List all the ExpressRoutePort resources in the specified resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ExpressRoutePortInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- expressRoute Port 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
List all the ExpressRoutePort resources in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- expressRoute Port 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ExpressRoutePortInner> listAsync()
List all the ExpressRoutePort resources in the specified subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<ExpressRoutePortInner>- Returns:
- expressRoute Port List Result as paginated response with
PagedFlux. - Throws:
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<ExpressRoutePortInner> list()
List all the ExpressRoutePort resources in the specified subscription.- Specified by:
listin interfaceInnerSupportsListing<ExpressRoutePortInner>- Returns:
- expressRoute Port List Result as paginated response with
PagedIterable. - Throws:
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<ExpressRoutePortInner> list(com.azure.core.util.Context context)
List all the ExpressRoutePort resources in the specified subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- expressRoute Port 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.
-
generateLoaWithResponseAsync
Mono<com.azure.core.http.rest.Response<GenerateExpressRoutePortsLoaResultInner>> generateLoaWithResponseAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)
Generate a letter of authorization for the requested ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of ExpressRoutePort.request- Request parameters supplied to generate a letter of authorization.- Returns:
- response for GenerateExpressRoutePortsLOA API service call 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.
-
generateLoaAsync
Mono<GenerateExpressRoutePortsLoaResultInner> generateLoaAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)
Generate a letter of authorization for the requested ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of ExpressRoutePort.request- Request parameters supplied to generate a letter of authorization.- Returns:
- response for GenerateExpressRoutePortsLOA API service call 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.
-
generateLoa
GenerateExpressRoutePortsLoaResultInner generateLoa(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)
Generate a letter of authorization for the requested ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of ExpressRoutePort.request- Request parameters supplied to generate a letter of authorization.- Returns:
- response for GenerateExpressRoutePortsLOA API service call.
- 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.
-
generateLoaWithResponse
com.azure.core.http.rest.Response<GenerateExpressRoutePortsLoaResultInner> generateLoaWithResponse(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, com.azure.core.util.Context context)
Generate a letter of authorization for the requested ExpressRoutePort resource.- Parameters:
resourceGroupName- The name of the resource group.expressRoutePortName- The name of ExpressRoutePort.request- Request parameters supplied to generate a letter of authorization.context- The context to associate with this operation.- Returns:
- response for GenerateExpressRoutePortsLOA API service call 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.
-
-