def METHOD_NAME(resource_group_name: Optional[str] = None,
                                 resource_provider_name: Optional[str] = None,
                                 opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomResourceProviderResult:
    """
    Gets the custom resource provider manifest.
    Azure REST API version: 2018-09-01-preview.
    :param str resource_group_name: The name of the resource group.
    :param str resource_provider_name: The name of the resource provider.
    """
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['resourceProviderName'] = resource_provider_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:customproviders:getCustomResourceProvider', __args__, opts=opts, typ=GetCustomResourceProviderResult).value
    return AwaitableGetCustomResourceProviderResult(
        actions=pulumi.get(__ret__, 'actions'),
        id=pulumi.get(__ret__, 'id'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
        resource_types=pulumi.get(__ret__, 'resource_types'),
        tags=pulumi.get(__ret__, 'tags'),
        type=pulumi.get(__ret__, 'type'),
        validations=pulumi.get(__ret__, 'validations'))