NatGatewaysClient Interface
Implements
public interface NatGatewaysClient extends InnerSupportsGet <NatGatewayInner >, InnerSupportsListing <NatGatewayInner >, InnerSupportsDelete <Void >
An instance of this class provides access to all the operations defined in NatGatewaysClient.
Method Summary
Modifier and Type
Method and Description
abstract
SyncPoller <PollResult <NatGatewayInner >,NatGatewayInner >
beginCreateOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
abstract
SyncPoller <PollResult <NatGatewayInner >,NatGatewayInner >
beginCreateOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters, Context context)
Creates or updates a nat gateway.
abstract
PollerFlux <PollResult <NatGatewayInner >,NatGatewayInner >
beginCreateOrUpdateAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
abstract
SyncPoller <PollResult <Void >,Void >
beginDelete(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
abstract
SyncPoller <PollResult <Void >,Void >
beginDelete(String resourceGroupName, String natGatewayName, Context context)
Deletes the specified nat gateway.
abstract
PollerFlux <PollResult <Void >,Void >
beginDeleteAsync(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
abstract
NatGatewayInner
createOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
abstract
NatGatewayInner
createOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters, Context context)
Creates or updates a nat gateway.
abstract
Mono <NatGatewayInner >
createOrUpdateAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
abstract
Mono <Response <Flux <ByteBuffer >>>
createOrUpdateWithResponseAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
abstract
void
delete(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
abstract
void
delete(String resourceGroupName, String natGatewayName, Context context)
Deletes the specified nat gateway.
abstract
Mono <Void >
deleteAsync(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
abstract
Mono <Response <Flux <ByteBuffer >>>
deleteWithResponseAsync(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
abstract
NatGatewayInner
getByResourceGroup(String resourceGroupName, String natGatewayName)
Gets the specified nat gateway in a specified resource group.
abstract
Mono <NatGatewayInner >
getByResourceGroupAsync(String resourceGroupName, String natGatewayName)
Gets the specified nat gateway in a specified resource group.
abstract
Response <NatGatewayInner >
getByResourceGroupWithResponse(String resourceGroupName, String natGatewayName, String expand, Context context)
Gets the specified nat gateway in a specified resource group.
abstract
Mono <Response <NatGatewayInner >>
getByResourceGroupWithResponseAsync(String resourceGroupName, String natGatewayName, String expand)
Gets the specified nat gateway in a specified resource group.
abstract
PagedIterable <NatGatewayInner >
list()
Gets all the Nat Gateways in a subscription.
abstract
PagedIterable <NatGatewayInner >
list(Context context)
Gets all the Nat Gateways in a subscription.
abstract
PagedFlux <NatGatewayInner >
listAsync()
Gets all the Nat Gateways in a subscription.
abstract
PagedIterable <NatGatewayInner >
listByResourceGroup(String resourceGroupName)
Gets all nat gateways in a resource group.
abstract
PagedIterable <NatGatewayInner >
listByResourceGroup(String resourceGroupName, Context context)
Gets all nat gateways in a resource group.
abstract
PagedFlux <NatGatewayInner >
listByResourceGroupAsync(String resourceGroupName)
Gets all nat gateways in a resource group.
abstract
NatGatewayInner
updateTags(String resourceGroupName, String natGatewayName, TagsObject parameters)
Updates nat gateway tags.
abstract
Mono <NatGatewayInner >
updateTagsAsync(String resourceGroupName, String natGatewayName, TagsObject parameters)
Updates nat gateway tags.
abstract
Response <NatGatewayInner >
updateTagsWithResponse(String resourceGroupName, String natGatewayName, TagsObject parameters, Context context)
Updates nat gateway tags.
abstract
Mono <Response <NatGatewayInner >>
updateTagsWithResponseAsync(String resourceGroupName, String natGatewayName, TagsObject parameters)
Updates nat gateway tags.
Method Details
beginCreateOrUpdate
public abstract SyncPoller,NatGatewayInner> beginCreateOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to the create or update nat gateway operation.
Returns:
beginCreateOrUpdate
public abstract SyncPoller,NatGatewayInner> beginCreateOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters, Context context)
Creates or updates a nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to the create or update nat gateway operation.
context
- The context to associate with this operation.
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux,NatGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to the create or update nat gateway operation.
Returns:
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
Returns:
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String natGatewayName, Context context)
Deletes the specified nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
context
- The context to associate with this operation.
Returns:
beginDeleteAsync
public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
Returns:
createOrUpdate
public abstract NatGatewayInner createOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to the create or update nat gateway operation.
Returns:
nat Gateway resource.
createOrUpdate
public abstract NatGatewayInner createOrUpdate(String resourceGroupName, String natGatewayName, NatGatewayInner parameters, Context context)
Creates or updates a nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to the create or update nat gateway operation.
context
- The context to associate with this operation.
Returns:
nat Gateway resource.
createOrUpdateAsync
public abstract Mono createOrUpdateAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to the create or update nat gateway operation.
Returns:
nat Gateway resource on successful completion of Mono .
createOrUpdateWithResponseAsync
public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String natGatewayName, NatGatewayInner parameters)
Creates or updates a nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to the create or update nat gateway operation.
Returns:
nat Gateway resource along with
Response<T> on successful completion of
Mono .
delete
public abstract void delete(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
delete
public abstract void delete(String resourceGroupName, String natGatewayName, Context context)
Deletes the specified nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
context
- The context to associate with this operation.
deleteAsync
public abstract Mono deleteAsync(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
Returns:
A Mono that completes when a successful response is received.
deleteWithResponseAsync
public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String natGatewayName)
Deletes the specified nat gateway.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
Returns:
getByResourceGroup
public abstract NatGatewayInner getByResourceGroup(String resourceGroupName, String natGatewayName)
Gets the specified nat gateway in a specified resource group.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
Returns:
the specified nat gateway in a specified resource group.
getByResourceGroupAsync
public abstract Mono getByResourceGroupAsync(String resourceGroupName, String natGatewayName)
Gets the specified nat gateway in a specified resource group.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
Returns:
the specified nat gateway in a specified resource group on successful completion of Mono .
getByResourceGroupWithResponse
public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String natGatewayName, String expand, Context context)
Gets the specified nat gateway in a specified resource group.
Parameters:
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.
Returns:
the specified nat gateway in a specified resource group along with
Response<T> .
getByResourceGroupWithResponseAsync
public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String natGatewayName, String expand)
Gets the specified nat gateway in a specified resource group.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
expand
- Expands referenced resources.
Returns:
the specified nat gateway in a specified resource group along with
Response<T> on successful
completion of
Mono .
list
public abstract PagedIterable list()
Gets all the Nat Gateways in a subscription.
Returns:
all the Nat Gateways in a subscription as paginated response with
PagedIterable<T> .
list
public abstract PagedIterable list(Context context)
Gets all the Nat Gateways in a subscription.
Parameters:
context
- The context to associate with this operation.
Returns:
all the Nat Gateways in a subscription as paginated response with
PagedIterable<T> .
listAsync
public abstract PagedFlux listAsync()
Gets all the Nat Gateways in a subscription.
Returns:
all the Nat Gateways in a subscription as paginated response with
PagedFlux<T> .
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Gets all nat gateways in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
all nat gateways in a resource group as paginated response with
PagedIterable<T> .
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)
Gets all nat gateways in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
context
- The context to associate with this operation.
Returns:
all nat gateways in a resource group as paginated response with
PagedIterable<T> .
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Gets all nat gateways in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
all nat gateways in a resource group as paginated response with
PagedFlux<T> .
updateTags
public abstract NatGatewayInner updateTags(String resourceGroupName, String natGatewayName, TagsObject parameters)
Updates nat gateway tags.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to update nat gateway tags.
Returns:
nat Gateway resource.
updateTagsAsync
public abstract Mono updateTagsAsync(String resourceGroupName, String natGatewayName, TagsObject parameters)
Updates nat gateway tags.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to update nat gateway tags.
Returns:
nat Gateway resource on successful completion of Mono .
updateTagsWithResponse
public abstract Response updateTagsWithResponse(String resourceGroupName, String natGatewayName, TagsObject parameters, Context context)
Updates nat gateway tags.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to update nat gateway tags.
context
- The context to associate with this operation.
Returns:
updateTagsWithResponseAsync
public abstract Mono> updateTagsWithResponseAsync(String resourceGroupName, String natGatewayName, TagsObject parameters)
Updates nat gateway tags.
Parameters:
resourceGroupName
- The name of the resource group.
natGatewayName
- The name of the nat gateway.
parameters
- Parameters supplied to update nat gateway tags.
Returns:
nat Gateway resource along with
Response<T> on successful completion of
Mono .
Applies to