def METHOD_NAME(feature_name: Optional[str] = None,
                                          provider_namespace: Optional[str] = None,
                                          opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubscriptionFeatureRegistrationResult:
    """
    Returns a feature registration
    :param str feature_name: The feature name.
    :param str provider_namespace: The provider namespace.
    """
    __args__ = dict()
    __args__['featureName'] = feature_name
    __args__['providerNamespace'] = provider_namespace
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:features/v20210701:getSubscriptionFeatureRegistration', __args__, opts=opts, typ=GetSubscriptionFeatureRegistrationResult).value
    return AwaitableGetSubscriptionFeatureRegistrationResult(
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        properties=pulumi.get(__ret__, 'properties'),
        type=pulumi.get(__ret__, 'type'))