HciVmNatGatewayResource.Get(CancellationToken) Method

Definition

The operation to get a natGateway.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/natGateways/{natGatewayName}.
  • Operation Id. : NatGateways_Get.
  • Default Api Version. : 2025-09-01-preview.
  • Resource. : HciVmNatGatewayResource.
public virtual Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmNatGatewayResource> Get(System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmNatGatewayResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmNatGatewayResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of HciVmNatGatewayResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to