---
title: "Gets the gateway resource with the given name."
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}"
tags: ["Gateways"]
---

# Gets the gateway resource with the given name.

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Gets the information about the gateway resource with the given name. The information include the description and other properties of the gateway.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `gatewayResourceName` string, required

## Query parameters

- `api-version` '2018-09-01-preview', required

## Response `200`

OK

- GatewayResourceDescription: The resource model definition for Azure Resource Manager resource.
  - `id` string: Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
  - `name` string: The name of the resource
  - `type` string: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

## Other responses

- `default`: Error

## Changes

- **2026-07-13** (2018-07-01-preview) `4a181d9224af`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/servicefabricmesh-microsoft-servicefabricmesh-servicefabricm/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ServiceFabricMesh/gateways/:gatewayResourceName/get.md)

---

[API](https://skmtc.dev/azure/apis/servicefabricmesh-microsoft-servicefabricmesh-servicefabricm.md) - [All operations](https://skmtc.dev/azure/apis/servicefabricmesh-microsoft-servicefabricmesh-servicefabricm/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/servicefabricmesh-microsoft-servicefabricmesh-servicefabricm/revisions/4a181d9224af?raw)
