def by_device_compliance_policy_id(self,device_compliance_policy_id: str) -> DeviceCompliancePolicyItemRequestBuilder:
        """
        Provides operations to manage the deviceCompliancePolicies property of the microsoft.graph.deviceManagement entity.
        param device_compliance_policy_id: The unique identifier of deviceCompliancePolicy
        Returns: DeviceCompliancePolicyItemRequestBuilder
        """
        if device_compliance_policy_id is None:
            raise TypeError("device_compliance_policy_id cannot be null.")
        from .item.device_compliance_policy_item_request_builder import DeviceCompliancePolicyItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["deviceCompliancePolicy%2Did"] = device_compliance_policy_id
        return DeviceCompliancePolicyItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the deviceCompliancePolicies property of the microsoft.graph.deviceManagement entity.
        param device_compliance_policy_id: The unique identifier of deviceCompliancePolicy
        Returns: DeviceCompliancePolicyItemRequestBuilder
        
msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py