@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api NetworkManagementClient
@base https://management.azure.com
@version 2019-07-01
@auth OAuth2
@endpoints 6
@toc subscriptions(6)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}
@desc Deletes the specified nat gateway.
@required {resourceGroupName: any # The name of the resource group., natGatewayName: any # The name of the nat gateway.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}
@desc Gets the specified nat gateway in a specified resource group.
@required {resourceGroupName: any # The name of the resource group., natGatewayName: any # The name of the nat gateway.}
@optional {$expand: any # Expands referenced resources.}
@returns(200) Request successful. The operation returns the resulting NatGateway resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}
@desc Creates or updates a nat gateway.
@required {resourceGroupName: any # The name of the resource group., natGatewayName: any # The name of the nat gateway., parameters: any # Parameters supplied to the create or update nat gateway operation.}
@returns(200) Update successful. The operation returns the resulting NatGateway resource.
@returns(201) Create successful. The operation returns the resulting NatGateway resource.
@returns(202) Accepted and the operation will complete asynchronously.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}
@desc Updates nat gateway tags.
@required {resourceGroupName: any # The name of the resource group., natGatewayName: any # The name of the nat gateway., parameters: any # Parameters supplied to update nat gateway tags.}
@returns(200) Update successful. The operation returns the resulting NatGateway resource.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways
@desc Gets all the Nat Gateways in a subscription.
@returns(200) Request successful. The operation returns a list of NatGateway resources.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways
@desc Gets all nat gateways in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Request successful. The operation returns a list of NatGateway resources.

@end
