public interface LocalNetworkGatewaysClient extends InnerSupportsGet<LocalNetworkGatewayInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
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.
|
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.
|
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.
|
LocalNetworkGatewayInner |
createOrUpdate(String resourceGroupName,
String localNetworkGatewayName,
LocalNetworkGatewayInner parameters)
Creates or updates a local network gateway in the specified resource group.
|
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.
|
Mono<LocalNetworkGatewayInner> |
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.
|
void |
delete(String resourceGroupName,
String localNetworkGatewayName)
Deletes the specified local network gateway.
|
void |
delete(String resourceGroupName,
String localNetworkGatewayName,
com.azure.core.util.Context context)
Deletes the specified local network gateway.
|
Mono<Void> |
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.
|
LocalNetworkGatewayInner |
getByResourceGroup(String resourceGroupName,
String localNetworkGatewayName)
Gets the specified local network gateway in a resource group.
|
Mono<LocalNetworkGatewayInner> |
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.
|
LocalNetworkGatewayInner |
updateTags(String resourceGroupName,
String localNetworkGatewayName)
Updates a local network gateway tags.
|
Mono<LocalNetworkGatewayInner> |
updateTagsAsync(String resourceGroupName,
String localNetworkGatewayName)
Updates a local network gateway tags.
|
Mono<LocalNetworkGatewayInner> |
updateTagsAsync(String resourceGroupName,
String localNetworkGatewayName,
Map<String,String> tags)
Updates a local network gateway tags.
|
com.azure.core.http.rest.Response<LocalNetworkGatewayInner> |
updateTagsWithResponse(String resourceGroupName,
String localNetworkGatewayName,
Map<String,String> tags,
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,
Map<String,String> tags)
Updates a local network gateway tags.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner 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.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LocalNetworkGatewayInner>,LocalNetworkGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner 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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LocalNetworkGatewayInner>,LocalNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner 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.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.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)
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.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.Mono<LocalNetworkGatewayInner> createOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner 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.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.LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner 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.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.LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<LocalNetworkGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String localNetworkGatewayName)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.Mono<LocalNetworkGatewayInner> getByResourceGroupAsync(String resourceGroupName, String localNetworkGatewayName)
getByResourceGroupAsync in interface InnerSupportsGet<LocalNetworkGatewayInner>resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.LocalNetworkGatewayInner getByResourceGroup(String resourceGroupName, String localNetworkGatewayName)
getByResourceGroup in interface InnerSupportsGet<LocalNetworkGatewayInner>resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.com.azure.core.http.rest.Response<LocalNetworkGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String localNetworkGatewayName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String localNetworkGatewayName)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String localNetworkGatewayName)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String localNetworkGatewayName)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.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)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String localNetworkGatewayName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.void delete(String resourceGroupName, String localNetworkGatewayName)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.void delete(String resourceGroupName, String localNetworkGatewayName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<LocalNetworkGatewayInner>> updateTagsWithResponseAsync(String resourceGroupName, String localNetworkGatewayName, Map<String,String> tags)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.tags - Resource tags.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.Mono<LocalNetworkGatewayInner> updateTagsAsync(String resourceGroupName, String localNetworkGatewayName, Map<String,String> tags)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.tags - Resource tags.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.Mono<LocalNetworkGatewayInner> updateTagsAsync(String resourceGroupName, String localNetworkGatewayName)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetworkGatewayName)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.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.com.azure.core.http.rest.Response<LocalNetworkGatewayInner> updateTagsWithResponse(String resourceGroupName, String localNetworkGatewayName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.localNetworkGatewayName - The name of the local network gateway.tags - Resource tags.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<LocalNetworkGatewayInner> listByResourceGroupAsync(String resourceGroupName)
resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<LocalNetworkGatewayInner> listByResourceGroup(String resourceGroupName)
resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<LocalNetworkGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.