def METHOD_NAME(provisioning_service_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIotDpsResourceResult:
    """
    Get the metadata of the provisioning service without SAS keys.
    :param str provisioning_service_name: Name of the provisioning service to retrieve.
    :param str resource_group_name: Resource group name.
    """
    __args__ = dict()
    __args__['provisioningServiceName'] = provisioning_service_name
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:devices/v20221212:getIotDpsResource', __args__, opts=opts, typ=GetIotDpsResourceResult).value
    return AwaitableGetIotDpsResourceResult(
        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'),
        resourcegroup=pulumi.get(__ret__, 'resourcegroup'),
        sku=pulumi.get(__ret__, 'sku'),
        subscriptionid=pulumi.get(__ret__, 'subscriptionid'),
        system_data=pulumi.get(__ret__, 'system_data'),
        tags=pulumi.get(__ret__, 'tags'),
        type=pulumi.get(__ret__, 'type'))