Interface LocalNetworkGatewaysClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<LocalNetworkGatewayInner>
public interface LocalNetworkGatewaysClient
extends InnerSupportsGet<LocalNetworkGatewayInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in LocalNetworkGatewaysClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LocalNetworkGatewayInner>, LocalNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LocalNetworkGatewayInner>, LocalNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters, com.azure.core.util.Context context) Creates or updates a local network gateway in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LocalNetworkGatewayInner>, LocalNetworkGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.beginDelete(String resourceGroupName, String localNetworkGatewayName) Deletes the specified local network gateway.beginDelete(String resourceGroupName, String localNetworkGatewayName, com.azure.core.util.Context context) Deletes the specified local network gateway.beginDeleteAsync(String resourceGroupName, String localNetworkGatewayName) Deletes the specified local network gateway.createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters, com.azure.core.util.Context context) Creates or updates a local network gateway in the specified resource group.createOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.voidDeletes the specified local network gateway.voiddelete(String resourceGroupName, String localNetworkGatewayName, com.azure.core.util.Context context) Deletes the specified local network gateway.deleteAsync(String resourceGroupName, String localNetworkGatewayName) Deletes the specified local network gateway.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String localNetworkGatewayName) Deletes the specified local network gateway.getByResourceGroup(String resourceGroupName, String localNetworkGatewayName) Gets the specified local network gateway in a resource group.getByResourceGroupAsync(String resourceGroupName, String localNetworkGatewayName) Gets the specified local network gateway in a resource group.com.azure.core.http.rest.Response<LocalNetworkGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String localNetworkGatewayName, com.azure.core.util.Context context) Gets the specified local network gateway in a resource group.Mono<com.azure.core.http.rest.Response<LocalNetworkGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String localNetworkGatewayName) Gets the specified local network gateway in a resource group.com.azure.core.http.rest.PagedIterable<LocalNetworkGatewayInner> listByResourceGroup(String resourceGroupName) Gets all the local network gateways in a resource group.com.azure.core.http.rest.PagedIterable<LocalNetworkGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the local network gateways in a resource group.com.azure.core.http.rest.PagedFlux<LocalNetworkGatewayInner> listByResourceGroupAsync(String resourceGroupName) Gets all the local network gateways in a resource group.updateTags(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters) Updates a local network gateway tags.updateTagsAsync(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters) Updates a local network gateway tags.com.azure.core.http.rest.Response<LocalNetworkGatewayInner> updateTagsWithResponse(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters, com.azure.core.util.Context context) Updates a local network gateway tags.Mono<com.azure.core.http.rest.Response<LocalNetworkGatewayInner>> updateTagsWithResponseAsync(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters) Updates a local network gateway tags.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to the create or update local network gateway operation.- Returns:
- a common class for general resource information 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<LocalNetworkGatewayInner>,LocalNetworkGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to the create or update local network gateway operation.- Returns:
- the
PollerFluxfor polling of a common class for general resource information. - 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<LocalNetworkGatewayInner>,LocalNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to the create or update local network gateway operation.- Returns:
- the
SyncPollerfor polling of a common class for general resource information. - 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<LocalNetworkGatewayInner>,LocalNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters, com.azure.core.util.Context context) Creates or updates a local network gateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to the create or update local network gateway operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a common class for general resource information. - 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<LocalNetworkGatewayInner> createOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to the create or update local network gateway operation.- Returns:
- a common class for general resource information 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
LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters) Creates or updates a local network gateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to the create or update local network gateway operation.- Returns:
- a common class for general resource information.
- 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
LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters, com.azure.core.util.Context context) Creates or updates a local network gateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to the create or update local network gateway operation.context- The context to associate with this operation.- Returns:
- a common class for general resource information.
- 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<LocalNetworkGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String localNetworkGatewayName) Gets the specified local network gateway in a resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.- Returns:
- the specified local network gateway in a resource group 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<LocalNetworkGatewayInner> getByResourceGroupAsync(String resourceGroupName, String localNetworkGatewayName) Gets the specified local network gateway in a resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<LocalNetworkGatewayInner>- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.- Returns:
- the specified local network gateway in a resource group 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<LocalNetworkGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String localNetworkGatewayName, com.azure.core.util.Context context) Gets the specified local network gateway in a resource group.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.context- The context to associate with this operation.- Returns:
- the specified local network gateway in a resource group 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.
-
getByResourceGroup
LocalNetworkGatewayInner getByResourceGroup(String resourceGroupName, String localNetworkGatewayName) Gets the specified local network gateway in a resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<LocalNetworkGatewayInner>- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.- Returns:
- the specified local network gateway in a resource group.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String localNetworkGatewayName) Deletes the specified local network gateway.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.- 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 localNetworkGatewayName) Deletes the specified local network gateway.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.- 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 localNetworkGatewayName) Deletes the specified local network gateway.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.- 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 localNetworkGatewayName, com.azure.core.util.Context context) Deletes the specified local network gateway.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.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
Deletes the specified local network gateway.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.- 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
Deletes the specified local network gateway.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.- 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 localNetworkGatewayName, com.azure.core.util.Context context) Deletes the specified local network gateway.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<LocalNetworkGatewayInner>> updateTagsWithResponseAsync(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters) Updates a local network gateway tags.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to update local network gateway tags.- Returns:
- a common class for general resource information 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<LocalNetworkGatewayInner> updateTagsAsync(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters) Updates a local network gateway tags.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to update local network gateway tags.- Returns:
- a common class for general resource information 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<LocalNetworkGatewayInner> updateTagsWithResponse(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters, com.azure.core.util.Context context) Updates a local network gateway tags.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to update local network gateway tags.context- The context to associate with this operation.- Returns:
- a common class for general resource information 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.
-
updateTags
LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters) Updates a local network gateway tags.- Parameters:
resourceGroupName- The name of the resource group.localNetworkGatewayName- The name of the local network gateway.parameters- Parameters supplied to update local network gateway tags.- Returns:
- a common class for general resource information.
- 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<LocalNetworkGatewayInner> listByResourceGroupAsync(String resourceGroupName) Gets all the local network gateways in a resource group.- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the local network gateways in a resource group 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<LocalNetworkGatewayInner> listByResourceGroup(String resourceGroupName) Gets all the local network gateways in a resource group.- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the local network gateways in a resource group 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<LocalNetworkGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the local network gateways in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all the local network gateways in a resource group 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.
-