public interface NatGatewaysClient extends InnerSupportsGet<NatGatewayInner>, InnerSupportsListing<NatGatewayInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NatGatewayInner>,NatGatewayInner> |
beginCreateOrUpdate(String resourceGroupName,
String natGatewayName,
NatGatewayInner parameters)
Creates or updates a nat gateway.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NatGatewayInner>,NatGatewayInner> |
beginCreateOrUpdate(String resourceGroupName,
String natGatewayName,
NatGatewayInner parameters,
com.azure.core.util.Context context)
Creates or updates a nat gateway.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NatGatewayInner>,NatGatewayInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String natGatewayName,
NatGatewayInner parameters)
Creates or updates a nat gateway.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String natGatewayName)
Deletes the specified nat gateway.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String natGatewayName,
com.azure.core.util.Context context)
Deletes the specified nat gateway.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String natGatewayName)
Deletes the specified nat gateway.
|
NatGatewayInner |
createOrUpdate(String resourceGroupName,
String natGatewayName,
NatGatewayInner parameters)
Creates or updates a nat gateway.
|
NatGatewayInner |
createOrUpdate(String resourceGroupName,
String natGatewayName,
NatGatewayInner parameters,
com.azure.core.util.Context context)
Creates or updates a nat gateway.
|
Mono<NatGatewayInner> |
createOrUpdateAsync(String resourceGroupName,
String natGatewayName,
NatGatewayInner parameters)
Creates or updates a nat gateway.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String natGatewayName,
NatGatewayInner parameters)
Creates or updates a nat gateway.
|
void |
delete(String resourceGroupName,
String natGatewayName)
Deletes the specified nat gateway.
|
void |
delete(String resourceGroupName,
String natGatewayName,
com.azure.core.util.Context context)
Deletes the specified nat gateway.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String natGatewayName)
Deletes the specified nat gateway.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String natGatewayName)
Deletes the specified nat gateway.
|
NatGatewayInner |
getByResourceGroup(String resourceGroupName,
String natGatewayName)
Gets the specified nat gateway in a specified resource group.
|
Mono<NatGatewayInner> |
getByResourceGroupAsync(String resourceGroupName,
String natGatewayName)
Gets the specified nat gateway in a specified resource group.
|
Mono<NatGatewayInner> |
getByResourceGroupAsync(String resourceGroupName,
String natGatewayName,
String expand)
Gets the specified nat gateway in a specified resource group.
|
com.azure.core.http.rest.Response<NatGatewayInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String natGatewayName,
String expand,
com.azure.core.util.Context context)
Gets the specified nat gateway in a specified resource group.
|
Mono<com.azure.core.http.rest.Response<NatGatewayInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String natGatewayName,
String expand)
Gets the specified nat gateway in a specified resource group.
|
com.azure.core.http.rest.PagedIterable<NatGatewayInner> |
list()
Gets all the Nat Gateways in a subscription.
|
com.azure.core.http.rest.PagedIterable<NatGatewayInner> |
list(com.azure.core.util.Context context)
Gets all the Nat Gateways in a subscription.
|
com.azure.core.http.rest.PagedFlux<NatGatewayInner> |
listAsync()
Gets all the Nat Gateways in a subscription.
|
com.azure.core.http.rest.PagedIterable<NatGatewayInner> |
listByResourceGroup(String resourceGroupName)
Gets all nat gateways in a resource group.
|
com.azure.core.http.rest.PagedIterable<NatGatewayInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets all nat gateways in a resource group.
|
com.azure.core.http.rest.PagedFlux<NatGatewayInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets all nat gateways in a resource group.
|
NatGatewayInner |
updateTags(String resourceGroupName,
String natGatewayName)
Updates nat gateway tags.
|
Mono<NatGatewayInner> |
updateTagsAsync(String resourceGroupName,
String natGatewayName)
Updates nat gateway tags.
|
Mono<NatGatewayInner> |
updateTagsAsync(String resourceGroupName,
String natGatewayName,
Map<String,String> tags)
Updates nat gateway tags.
|
com.azure.core.http.rest.Response<NatGatewayInner> |
updateTagsWithResponse(String resourceGroupName,
String natGatewayName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates nat gateway tags.
|
Mono<com.azure.core.http.rest.Response<NatGatewayInner>> |
updateTagsWithResponseAsync(String resourceGroupName,
String natGatewayName,
Map<String,String> tags)
Updates nat gateway tags.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String natGatewayName)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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 natGatewayName)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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 natGatewayName)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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 natGatewayName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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 natGatewayName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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 natGatewayName)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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 natGatewayName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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<NatGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String natGatewayName, String expand)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.expand - Expands referenced resources.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<NatGatewayInner> getByResourceGroupAsync(String resourceGroupName, String natGatewayName, String expand)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.expand - Expands referenced resources.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<NatGatewayInner> getByResourceGroupAsync(String resourceGroupName, String natGatewayName)
getByResourceGroupAsync in interface InnerSupportsGet<NatGatewayInner>resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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.NatGatewayInner getByResourceGroup(String resourceGroupName, String natGatewayName)
getByResourceGroup in interface InnerSupportsGet<NatGatewayInner>resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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<NatGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String natGatewayName, String expand, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.expand - Expands referenced resources.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>>> createOrUpdateWithResponseAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.parameters - Nat Gateway resource.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<NatGatewayInner>,NatGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.parameters - Nat Gateway resource.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<NatGatewayInner>,NatGatewayInner> beginCreateOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.parameters - Nat Gateway resource.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<NatGatewayInner>,NatGatewayInner> beginCreateOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.parameters - Nat Gateway resource.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<NatGatewayInner> createOrUpdateAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.parameters - Nat Gateway resource.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.NatGatewayInner createOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.parameters - Nat Gateway resource.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.NatGatewayInner createOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat gateway.parameters - Nat Gateway resource.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<NatGatewayInner>> updateTagsWithResponseAsync(String resourceGroupName, String natGatewayName, Map<String,String> tags)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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<NatGatewayInner> updateTagsAsync(String resourceGroupName, String natGatewayName, Map<String,String> tags)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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<NatGatewayInner> updateTagsAsync(String resourceGroupName, String natGatewayName)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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.NatGatewayInner updateTags(String resourceGroupName, String natGatewayName)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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<NatGatewayInner> updateTagsWithResponse(String resourceGroupName, String natGatewayName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.natGatewayName - The name of the nat 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<NatGatewayInner> listAsync()
listAsync in interface InnerSupportsListing<NatGatewayInner>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<NatGatewayInner> list()
list in interface InnerSupportsListing<NatGatewayInner>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<NatGatewayInner> list(com.azure.core.util.Context context)
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<NatGatewayInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<NatGatewayInner>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<NatGatewayInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<NatGatewayInner>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<NatGatewayInner> 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 © 2020 Microsoft Corporation. All rights reserved.