MockableApiManagementResourceGroupResource.GetApiGateway Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an API Management gateway resource description.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/gateways/{gatewayName}
- Operation Id: ApiGateway_Get
- Default Api Version: 2024-05-01
- Resource: ApiGatewayResource
public virtual Azure.Response<Azure.ResourceManager.ApiManagement.ApiGatewayResource> GetApiGateway(string gatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiGateway : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiGatewayResource>
override this.GetApiGateway : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiGatewayResource>
Public Overridable Function GetApiGateway (gatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiGatewayResource)
Parameters
- gatewayName
- String
The name of the API Management gateway.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
gatewayName
is null.
gatewayName
is an empty string, and was expected to be non-empty.