def METHOD_NAME(connection_gateway_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           subscription_id: Optional[str] = None,
                           opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectionGatewayResult:
    """
    Gets a specific gateway under a subscription and in a specific resource group
    :param str connection_gateway_name: The connection gateway name
    :param str resource_group_name: The resource group
    :param str subscription_id: Subscription Id
    """
    __args__ = dict()
    __args__['connectionGatewayName'] = connection_gateway_name
    __args__['resourceGroupName'] = resource_group_name
    __args__['subscriptionId'] = subscription_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:web/v20160601:getConnectionGateway', __args__, opts=opts, typ=GetConnectionGatewayResult).value
    return AwaitableGetConnectionGatewayResult(
        etag=pulumi.get(__ret__, 'etag'),
        id=pulumi.get(__ret__, 'id'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        properties=pulumi.get(__ret__, 'properties'),
        tags=pulumi.get(__ret__, 'tags'),
        type=pulumi.get(__ret__, 'type'))